RE: Finding CPU Utilization %

"Gary Cote" <[email protected]>
Newsgroups gmane.linux.redhat.devel
Message-ID <[email protected]>
This might be splitting hairs, but the load average,
as I understand it, is not exactly CPU utilization.
Rather, it is a count of the number of runnable processes.

This suffices as a crude measure of system activity 98%
of the time. But how would you query actual CPU occupancy?

Something like <measured number of jiffies> / <jiffies per second> * n

--
Gary Cote
[email protected] 

> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of Tony Nugent
> Sent: Thursday, June 05, 2003 5:38 AM
> To: RedHat Development Mailing List
> Subject: Re: Finding CPU Utilization %
> 
> 
> On Thu Jun 05 2003 at 06:12, "girish sondur" wrote:
> 
> > I want to find out the CPU Utilization of the Linux Machine. I
> > dont want to use TOP since it is in itself CPU intensive. Please
> > suggest the best way to do so?
> 
> $ cat /proc/loadavg
> 
> Cheers
> Tony
> 
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.