[nycbug-talk] Advanced UNIX Basics Management

Isaac Levy isaac at diversaform.com
Wed Sep 23 13:39:28 EDT 2009


Updated Outline Per Nikolai and David's input so far (thanks!):

+ Added a bonus section for 'advanced profiling tools', (dtrace,  
oprofile, etc...), because of their immense usefulness- but they may  
not be appropriate tools for this talk- they deserve a talk of their  
own.

+ Added sysstat, but perhaps not in the right place- since it profiles  
so many different things?
   - (noteworthy: no systat on fully loaded CentOS ... :( need to  
install it via yum package)

What else?

Best,
.ike


##############################
- Userland/Kernel Structure Basics (2 minute spiel)
- man(1) is your friend, so is dmesg(8)

- Processes
   - stats/info facilities
     + using procfs(5)
     + ps(1) (flags and some handy awk(1) parsing)
     + top(1) (briefly, everyone knows top...)
     + systat(1)
   - management tools
     + kill(1), killall(1) (flags!)
     + nice(1), renice(8)

- Memory
   - stats/info facilities
     + ps(1) (flags and some handy awk parsing)
     + top(1) (briefly, everyone knows top...)
     + swapinfo(8)
   - management tools
     - swapon(8), swapoff(8)


- Disk
   - stats/info facilities
     + iostat(8)
     + df(1) and du(1)
     + lsof(8) (non-stock on many UNIX systems, but worth mention?)
     + top(1) disk i/o tricks
   - management tools
     + disk mount(8) basics
     + nfs, living with it basics
   - advanced but very useful for developers:
     + memory filesystems (creating, using)
       - disk-backed memory filesystems

--
Bonus Networking section, perhaps,

- Network
   - UNIX stats/info facilities
     + ifconfig(8)
     + netstat(1)
     + tcpdump(1)
   - UNIX management tools
     + ifconfig(8)
     + netstat(1)

- Kernel Based Advanced Profiling Tools
   - dtrace(1m), (FreeBSD, Solaris, MacOSX)
   - oprofile(1), valgrind(1) (Linux, not part of stock CentOS/Ubuntu  
Install!)

##############################



More information about the talk mailing list