Monitor Linux Performance With The Tools At Hand
Jan Stafford writes "Need to monitor Linux performance without purchasing a pricey diagnostic package? Try these simple, built-in command line tools. This article was written by site expert and author (Rapid Application Development with Mozilla) Nigel McFarlane."
Most utilities mentioned are really great, but mostly realtime stats
sometimes it's nice to see historic view on the machine as well.
sysstat does just that.
Now if only I can remember the thing that also use that statistics do
draw graphs (with gnuplot iirc.) Anyone ?
These utilities are explained better in the man pages themselves or the various system administration guides and howtos at the linux documentaion project.
Oh yeah, and he is missing one of the best tools for this type of thing: namely 'sar', the system activity reporter, which is enabled by default on all redhat distros. (I have an xpostit note dedicated to all the flags to sar for various things)
As for the graphing/monitoring questions people are asking in other posts; look for tools like nagios and mrtg and sysmon and mon or just search freshmeat.net. It's quite a common task which has been done many ways. My personal monitoring/graphs are perl scripts I wrote to fetch stats via ssh which I plug into mrtg.
I use gkrellm2 (www.gkrellm.net) to monitor a handful of machines. It has a ton of stats that you can use and it's very helpful...
--Ajay
If it is an option for your situation, you should at least investigate a migration to kernel 2.6.x. The IO system is MUCH faster, as is thread allocation. You should see a fairly significant increase in RAID performance, and least for striping. You should also make sure DMA/32 bit mode is enabled on the drives, not all drivers will set this automatically. I'm sure you've checked these, just a mention though.
As far as the network, it sounds like the driver is setting it to 100Mb mode instead of 1000Mb mode. You might try to find updated drivers for the cards. You might also check the documentation to see if the eth drivers support debug-info dumping. That might be a lot to read through, but you should find your answer in there somewhere.
If you post more hardware info, I'll post more specific answers.
You can't legislate goodness. Let each to his own destiny, by will of his freely made choices.
This is a good summary of available performance/test tools for Linux:
Linux Test Tool Matrix