[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] server load
- Subject: Re: [cobalt-users] server load
- From: "Brian Curtis" <admin@xxxxxxxxxxx>
- Date: Thu Nov 9 05:31:00 2000
- Organization: Pomfret Computer Technologies
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> Hi,
>
> Our CPU has been pretty heavily loaded for the last few hours and I just
> wondered if there's a command I can run to see which script(s) are hogging
> resources so badly? I know of netstat (for active connections) and ps ax
> (listing running processes) but none of these tell me which scripts could
be
> causing the high load averages.
>
> Amanda.
Try "top" from the shell. Hit "h" within top for additional commands. The
output, I believe, is by default sorted by %CPU usage. If yours is
different, hit "P" (that's <shift> + P).
BTW, "ps aux" will give you a long listing showing all processes and their
respective CPU/Memory usage. Use "ps aux | more" if it scrolls more than
one screen length. You can also sort the "ps" output, i.e.: "ps aux --sort
%cpu". All this information is available in the man pages (man
<command_name>).
HTH
--
Brian Curtis