tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* C code to have CPU and RAM USAGE (pct) of a given process
@ 1998-11-24  9:51 lombardi emanuele
  0 siblings, 0 replies; only message in thread
From: lombardi emanuele @ 1998-11-24  9:51 UTC (permalink / raw)
  To: tru64-unix-managers


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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-11-24  9:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-11-24  9:51 C code to have CPU and RAM USAGE (pct) of a given process lombardi emanuele

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