From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078728412142.tru64-unix-managers.marc@archive.invalid> From: lombardi emanuele Date: Tue, 24 Nov 1998 09:51:05 +0000 To: tru64-unix-managers Subject: C code to have CPU and RAM USAGE (pct) of a given process X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078728412142 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.