I'm looking for a list of Linux and Unix commands for performance monitoring and a good sight or area on this site that would have man pages and or information on those commands.....
Probably the most useful and widely available realtime performance monitoring tool (for the CLI, anyway) is the 'top' command. For remote/non shell-based monitoring I suggest looking into MRTG, which can do much much more than just monitor network traffic.
$ vmstat
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
1 0 124 582056 6676 294924 0 0 3 4 9 14 0 0 99 0
$ sar 1 1
Linux 2.6.9-22.ELsmp (mybox.home.com) 01/12/2006
10:00:00 AM CPU %user %nice %system %iowait %idle
10:00:01 AM all 0.00 0.00 0.50 0.00 99.50
Average: all 0.00 0.00 0.50 0.00 99.50
See collectl for details, but when I wrote it my goal was to have one tool with consistent output so I wouldn't need multiple windows or files worth of data that I couldn't easily integrate. Collectl even allows you to load your data into excel or display it with gnuplot.
-mark
I've just installed collectl, it seems to be very useful tool, by the way. But I'm afraid there is a problem when I try to dump the information into a file, collectl can not compress the information, and I think it should be able to, since I got Zlib installed. This is the warning displayed out:
Zlib not installed so not compressing file(s). Use -oz to get rid of this warning.
All the .gz files were generated correctly except the .tab.gz, it size is 10 Bytes, and if I try to unzip it the next message is displayed:
gunzip: collectl-atm117-20080129-141624.tab.gz: unexpected end of file
I think it might be something to do with the way to stop collectl (I'm using the TERM signal), maybe something to do with the Zlib libraries (but then, why the rest of the files are correctly generated?).
Uhalt - sorry for only just seeing your thread (I would have responded more quickly had you asked your questions on the soureforge forum). In any event can I assume you are all set now?
I also can't help but comment on an earlier reply that said:
That's the whole point behind collectl! You don't need all these tools, each with their own switches, formats, etc. Not to mention not being able to easily integrate all their outout into a concise view.
As an additional aside, I'm in the final stages of getting ready to release a new version of collectl that adds interrupts by CPU to the output! You'll be able to get summary data like this, which was taken while running some 10G network tests: