if iostat and iptraf don't work you've got a problem you need to find. iptraf is probably a separate rpm you can install. iostat is a 'core' unix networking command which works on many flavors of unix. On Mon, 22 Mar 2004, John wrote:
iostat and iptraf don't work on my systen even under root's account.
Well, what else should i check on my system?
----- Original Message ----- From: "Dana Hudes"
To: "John" Cc: Sent: Sunday, March 21, 2004 11:23 PM Subject: Re: [suse-security] My SL 9 PRO is getting so slow John, On Sun, 21 Mar 2004, John wrote:
To be honest, the syptoms were visible when i made my apache to receive many requests.
Apache tuning -- # of children, max requests per child etc. -- may be in order.
But the system is slow even nobody is connected to my port 80 (using netstat -aln)
That is at some particular instant but they come and go pretty quick
I restarted the machine but nothing good happened.
Well yeah unless you had a runaway process the same config will produce similar results.
I also ran a harddisk benchmark with the hdparm -tT and the disk is too fast (50 MB/s).
OK, that's a good disk spped
My memory (259 MB free) out of 512 swap 1.5 GB
(iostat and iptraf didn't work)
iostat works on SuSE 9.0 here's mine: dhudes@screamer:/var> iostat Linux 2.4.21-192-default (screamer) 03/21/2004
avg-cpu: %user %nice %sys %idle 17.65 25.31 0.76 56.28
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn dev3-0 0.11 0.46 1.68 2488258 9007240 dev3-1 0.06 1.33 1.25 7155324 6723816 dev22-2 0.00 0.13 0.00 679852 0
iptraf you have to be root
----- Original Message ----- From: "Dana Hudes"
To: "John" Cc: Sent: Sunday, March 21, 2004 7:34 PM Subject: Re: [suse-security] My SL 9 PRO is getting so slow have you looked at the running state of the system? See what's going
on
for disk i/o , memory and process utilization? top, vmstat and iostat will give you a look at the current state of the machine. iptraf will show you network activity.
there is no simple answer to your question. You have to look at the system. My own machine will sometimes pause in an interactive shell when a heavy burst of web requests comes in.
On Sun, 21 Mar 2004, John wrote:
I have noticed that my machine is so slow.
There is a significant amount of free memory and swap ,as well.
Nothing consumes too much cpu but is so slow :(
What faults for that?