[CentOS] load level?
Ross S. W. Walker
rwalker at medallion.com
Fri Apr 25 20:04:54 UTC 2008
Jason Pyeron wrote:
> Kevin Faulkner wrote:
> >
> > Perhaps you could run iotop find out if there is a process chewing up
> > your hard disks. You aren't just limited to top, you can also use
> > vmstat and iostat in this situation.
>
> After stoping httpd, sendmail and mysql:
>
> # uptime
> 15:48:02 up 167 days, 9:20, 5 users, load average: 0.52, 0.55, 0.92
>
> # vmstat
>
> procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
> r b swpd free buff cache si so bi bo in cs us sy id wa
> 0 0 196 144668 153800 202860 0 0 3 9 1 2 13 12 75 0
>
>
> init(1)-+-atd(3370)
> |-dbus-daemon-1(3392)
> |-events/0(6)-+-aio/0(68)
> | |-aio/1(69)
> | |-kauditd(1973)
> | |-kblockd/0(9)
> | |-kblockd/1(10)
> | |-khelper(8)
> | `-pdflush(66)
> |-events/1(7)-+-ata/0(450)
> | |-ata/1(451)
> | |-ata_aux(452)
> | |-kedac(1832)
> | `-pdflush(21556)
> |-gpm(3313)
> |-hald(3402)
> |-irqbalance(3087)
> |-khubd(11)
> |-kjournald(494)
> |-kjournald(2176)
> |-klogd(3074)
> |-kseriod(213)
> |-ksoftirqd/0(3)
> |-ksoftirqd/1(5)
> |-kswapd0(67)
> |-lockd(596)
> |-login(3509)---bash(19184)
> |-migration/0(2)
> |-migration/1(4)
> |-mingetty(3510)
> |-mingetty(3511)
> |-mingetty(3512)
> |-mingetty(3513)
> |-mingetty(3514)
> |-minilogd(20220)
> |-minilogd(22648)
> |-portmap(26404)
> |-rpciod(595)
> |-scsi_eh_0(456)
> |-scsi_eh_1(457)
> |-scsi_eh_2(465)
> |-scsi_eh_3(466)
> |-scsi_eh_4(1998)
> |-smartd(3155)
> |-sshd(21029)-+-sshd(11899)---bash(11911)-+-pstree(14050)
> | | `-tail(12125)
> | |-sshd(12900)---sshd(12902)---bash(12913)
> | |-sshd(13882)---bash(13900)
> | `-sshd(23839)---bash(23841)
> |-syslogd(3070)
> |-udevd(7922)
> |-usb-storage(1999)
> |-xfs(3353)
> |-xinetd(3215)
> `-ypbind(14008)
Nice process tree, what generated it?
> # up2date --whatprovides iostat
> # up2date --whatprovides iotop
Try 'yum provides iostat'
> Where do I get iostat / iotop?
They're in the sysstat package
> Starting sendmail back up puts me in the high 1's to low 2's
I would think about isolating email then, especially if it's
handling it unfiltered from the Internet.
-Ross
______________________________________________________________________
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.
More information about the CentOS
mailing list