[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: current cpu usage



On Thu, 06 Sep 2001 09:00:37 EDT, Peter Billson writes:
>> sorry, I should have been more specific, I need to get the output in a forma
>t
>> a script could use.
>> I have tried the uptime command however I'm a bit lost at what the numbers
>> displayed represent (& how to turn these into a percentage).
>> (If indeed this is a good way to do this)
>
>/usr/bin/top -bin 1

cat /proc/meminfo
cat /proc/loadavg

hth+cheers,
&rw
-- 
/ Ing. Robert Waldner |  <r.waldner@xsoft.at>  \
\     Xsoft GmbH      | T: +43 1 796 36 36 692 /


Attachment: pgpj88auW0tke.pgp
Description: PGP signature


Reply to: