RE: Finding CPU Utilization %

"SKY" <[email protected]> Sun, 3 Aug 2003 12:34:47 +0800
Newsgroups gmane.linux.redhat.devel
Message-ID <[email protected]>
Cat /proc/stat

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Gary Cote
Sent: 2003骞66 2:52
To: [email protected]
Subject: RE: Finding CPU Utilization %


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
> 
> 
> 


_______________________________________________
Redhat-devel-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/redhat-devel-list