in reply to Re: Calculating percent cpu in linux?
in thread Calculating percent cpu in linux?

Well.. actually this is for the Linux half of a Linux/Solaris library. I could use ps, but from years of using ps I tend not to entirely trust parsing the output.

And there are a couple problems with Proc::ProcessTable... 1) it is mostly C, 2) I can't seem to see a way to call for individual pids in it... maybe I am reading the docs wrong, but it looks like you can only get the whole processtable as a snapshot, basically...

                - Ant
                - Some of my best work - (1 2 3)

  • Comment on Re^2: Calculating percent cpu in linux?