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

Re: current cpu usage

> 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. :-)

ELB Internet Services, Inc.
Web Design, Computer Consulting, Internet Hosting

Reply to: