Monitor Linux Performance With The Tools At Hand 27
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."
Historic.. (Score:5, Informative)
sometimes it's nice to see historic view on the machine as well.
sysstat [wanadoo.fr] does just that.
Now if only I can remember the thing that also use that statistics do
draw graphs (with gnuplot iirc.) Anyone ?
Re:Historic.. (Score:5, Interesting)
It uses RRDTool [rrdtool.com] to create the plots - very nice.
Re:Historic.. (Score:4, Interesting)
Yeah, while true; do; ps -Fp3325 >> data.txt;sleep 1;done but I'm looking for something... Enterprise... I hate that word.
Re:Historic.. (Score:2)
Parse the datafile, plot your lines, and write the
Have fun.
wbs.
Re:Historic.. (Score:2)
Re:Historic.. (Score:2)
Re:Historic.. (Score:2)
disk performance? (Score:2, Offtopic)
I won't even start on our network performance problems, which are around 15M/s transfers (our network is capable of 100M/s).
Re:disk performance? (Score:1)
When you are saying M/s do you mean Megabit or Megabyte? 15MBps (megabyte per second) is pretty close to 100Mbps (Megabit per second.) Perhaps you are just getting the opposite (bit instead of byte) of what you are expecting in Linux?
Maybe this is not the case, but I thought I would throw that out there just in case. Also, 100Mbps network cards don't always go 100Mbps. I've seen so
Re:disk performance? (Score:2)
By MiB/s I mean mebibytes per second.
By mebibyte I mean 2^20 bytes.
By byte I mean 8 bits.
I hope that clears things up.
(Our network is gigE, before someone tries explaining that 100Mb/s fast ethernet can't do 100M/s transfers.)
Re:disk performance? (Score:3, Informative)
As far as the network, it sounds like the driver is setting it to 100Mb mode instead of 1000Mb mode.
Re:disk performance? (Score:2)
We're using a hardware raid (16 SATA drives that present themselves to the host as a single SCSI drive), which I think rules out the DMA/32 issue (that's IDE-only, right?). In any case, we're getting twice the read performance under Windows 2003 Server without hardware changes.
The network is definitely at 1000Mb mode. I can even get it to benchmark at 940Mb using iperf (both TCP a
Re:disk performance? (Score:2)
If you would prefer to stick with a 2.4.x kernel, you still have other options. Besides checking for updated SCSI drivers, you should check out the man page for 'blockdev'. Tuning your drive read-ahead can improv
Re:disk performance? (Score:2)
stress test for free (Score:2)
2. Host an interesting story on Slashdot with large JPEGs.
3. Post the story on Slashdot
4. Watch your server being Slashdotted!
s/JPEGs/Dynamic pages (Score:2)
Remote realtime monitoring? (Score:2)
I know at work, I can use Solaris' perfmon tool to monitor our Linux server's current stats, but I can't seem to find anything like that for Linux on the client side. Anyone k
Re:Remote realtime monitoring? (Score:1)
Re:Remote realtime monitoring? (Score:3, Informative)
--Ajay
HOWTO Monitor Linux Performance (Score:1)
Re:HOWTO Monitor Linux Performance (Score:1)
innacurate (Score:5, Insightful)
These utilities are explained better in the man pages themselves or the various system administration guides and howtos at the linux documentaion project. [tldp.org]
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.
Having problems with RH Linux for this (Score:2)
Haven't figured out how to use netstat or some other built-in command to check the bandwidth usage for each network interface. I had to write a little snippet of perl to do that. Any suggestions?
Seems a lot easier to do stuff like that on FreeBSD or even Windows 2000.
Test Tools (Score:4, Informative)
Linux Test Tool Matrix [sourceforge.net]