> cat /proc/meminfo
> cat /proc/loadavg

 The meminfo would help him but he posted that he didn't understand load
average and, anyway, needs percent of CPU used. You can not calculate
CPU usage from load average.

  You could use /proc to get CPU usage but it would be rather involved
to do and why bother when the nice man who wrote top has already done it
for you. :-)

Pete
-- 
http://www.elbnet.com
ELB Internet Services, Inc.
Web Design, Computer Consulting, Internet Hosting


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to