proc and p_runtime

Peter Kadau peter.kadau at tuebingen.mpg.de
Mon Nov 10 12:44:33 PST 2003


Hi !

Perhaps your looking for something like this ?
YES !
Thanks a lot.
client-98# cat kde+ProcessList.c.diff
--- ProcessList.c.orig  Wed Jul 30 00:23:10 2003
+++ ProcessList.c       Wed Jul 30 18:59:32 2003

         * good idea. I never thought that the stability of UNIX could 
get me
         * into trouble! ;)
         */
Ahhh, unsigned int ---> long
I see. Sheesh.
-       unsigned int userTime;
+       long userTime;

+       struct rusage pru;
        size_t len;
OK, rusage. Uh. From freebsd-5 ?

Anyhow, thanks once more. This should get me up and going...

Cheers
Peter
--
<peter.kadau at xxxxxxxxxxxxxxxx>
Campus der Max-Planck-Institute Tübingen
Netzwerk- und Systemadministration
Tel: +49 7071 601 598
Fax: +49 7071 601 616





More information about the Kernel mailing list