Re: need info from /proc

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

 



On Wed, May 18, 2005 at 02:50:38AM +0300, Yasmine Habib wrote:
>     I need to get current cpu utilization of total running processes,
> memory size of each processes and the time it was created from /proc
> files.. can anyone guide me?

Get the top source and read it.

On RPM based systems:

  rpm -qf `which top`
  go to distribution ftp site and get the source package

On Debian based systems:

  dpkg -S `which top` | sed 's/:.*//' | xargs apt-get source


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