tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: lombardi emanuele <lele () mantegna ! casaccia ! enea ! it>
To: tru64-unix-managers
Subject: C code to have CPU and RAM USAGE (pct) of a given process
Date: Tue, 24 Nov 1998 09:51:05 +0000	[thread overview]
Message-ID: <96078728412142.tru64-unix-managers.marc@archive.invalid> (raw)


Dear system managers,

Dunix 4.0d 

I' m looking for a piece of code which , given a Process Id, can print
the percentage of the CPUs and of the RAM the process is using.
I need the some value given by 
ps aux
but I would like to do it by C not by shell.

Any suggestion ?

Thanks from Italy,
Emanuele

-- 
 Emanuele Lombardi
 mail:  AMB-GEM-CLIM ENEA Casaccia
        I-00060 S.M. di Galeria (RM)  ITALY
 mailto:lele@mantegna.casaccia.enea.it
 tel	+39 6 30483366 fax	+39 6 30483591

     This transmission was made possible by 100% recycled electrons.

                 reply	other threads:[~1998-11-24  9:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox