Re: cpu usage information in proc fs

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

 



On Mon, Mar 07, 2005 at 04:20:37AM -0000, sounak  chakraborty wrote:
> we are extracting the memory the swap information from the file
> /proc/meminfo but for deriving the CPU usage i am not able to track
> the files which can provide me the information regarding cpu usage

/proc/stat (look at top or vmstat source to figure out how it works).


Erik

-- 
Erik Mouw
J.A.K.Mouw@xxxxxxxxxxxxxx  mouw@xxxxxxxxxxxx

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux