
wait3() or getrusage()? (Neither of which are supported
by the posix library.)
--sigbjorn
----- Original Message -----
From: "Dean Herington"
Does anyone know how to get the process statistics (cputime, page faults, etc.) for a child process? When the child process has terminated, before doing getAnyProcessStatus on it, I'd like to get its statistics.
Browsing the libraries documentation didn't turn anything up. I couldn't even find what I want at the Unix level among man pages. (I'm happy to write some FFI code to access system routines if I can locate the right ones.)
Dean
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users