Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: How to calculate the CPU usage

  • Subject: Re: How to calculate the CPU usage
  • From: Roy Schestowitz <newsgroups@xxxxxxxxxxxxxxx>
  • Date: Tue, 05 Sep 2006 11:51:50 +0100
  • Newsgroups: comp.os.linux.advocacy
  • Organization: schestowitz.com / ISBE, Manchester University / ITS / Netscape / MCC
  • References: <1157447318.584062.111940@b28g2000cwb.googlegroups.com> <clrvs3-vtf.ln1@ridcully.ntlworld.com>
  • Reply-to: newsgroups@xxxxxxxxxxxxxxx
  • User-agent: KNode/0.7.2
__/ [ spike1@xxxxxxxxxxxxx ] on Tuesday 05 September 2006 10:26 \__

> FullMoon <adapaganesh@xxxxxxxxx> did eloquently scribble:
>> Please help me to calculate the CPU usage. It will be appriciable if u
>> explain me with an algorithm or a C program.
> 
> Do your own homework.

Open the file /proc/loadavg . It's universal.

-- 
Can Mac OS X and Vista catch up? http://www.youtube.com/watch?v=wYjv0S_k0xo
http://Schestowitz.com  |  GNU is Not UNIX  |     PGP-Key: 0x74572E8E
roy      pts/3        cg001a.halls.man Tue Sep  5 08:29   still logged in   
      http://iuron.com - proposing a non-profit search engine

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index