Cat /proc/stat

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gary Cote
Sent: 2003年6月6日 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] 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




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

Reply via email to