--
******************************************************************
* Knut Helleboe | DAMN GOOD COFFEE !! *
* Norsk Hydro a.s | (and hot too) *
* Phone: +47 55 996870, Fax: +47 55 996342 | *
* Pager: +47 96 500718 | *
* E-mail: Knut.Hellebo_at_nho.hydro.com | Dale Cooper, FBI *
******************************************************************
---------------------------------------------------------------------------
use:
ps -o pid,ppid,user,ni,vsz,rss,start,cputime,pcpu,comm
to check which process is taking up the CPU time (specifically the pcpu
entry gives this info).
Best regards,
-gjb-
http://www.luc.ac.be/~gjb/
PGP public key: finger gjb_at_alpha.luc.ac.be
----------------------------------------------------------------------------
re: cause
A lot of time being spent in kernel mode; network drivers, disk
driver, file systems, etc.
Use ps(1) to see what processes are collecting a lot of CPU
time. If you can find a copy of top, it should make that
easier. If you can identify a single process or related
group of processes that are the cause, then you can figure
what that process does that is kernel mode intensive.
You can pick up Monitor from gatekeeper.dec.com:/pub/DEC/monitor.alpha.Z
(a compress tar archive). It will present much of the information collected
by iostat, vmstat and netstat all at once. With it you can see what
is going on system wide at the same time.
One type of "I/O" load that causes this type of usage is read
heavy I/O load that is hitting the buffer cache most of the
time. With out disk I/O little time is spent waiting, and
processes are just moving data around. Another, rather trivial
example, is a program which just does getpid() repeatedly.
-----------------------------------------------------------------------------
It may be that one of your httpd processes is hung. Get "top" from
ftp://eecs.nwu.edu/pub/top (latest version is 3.3) and run that - it'll
tell you a lot more about what processes are doing.
Pat Wilson
paw_at_dartmouth.edu
--------------------
Doug Wright
ppstech_at_nbnet.nb.ca
-------------------
Received on Fri Mar 08 1996 - 19:59:50 NZDT
This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT