os.times() for other process

Donn Cave donn at drizzle.com
Thu Jan 16 05:47:12 CET 2003


Quoth "Christian Schmidt" <surname.forename at aifb.uni-karlsruhe.de>:
...
| Yes, this helps. But only on Windows...
| On Linux I can parse /proc/pid/stat, but I was hoping that I could access
| these values without parsing.

I missed the original post, but I wonder if
resource.getrusage(resource.RUSAGE_CHILDREN) would work for UNIX
plaforms.

	Donn Cave, donn at drizzle.com




More information about the Python-list mailing list