portable way to get process infos

Tarek Ziadé tziade at nuxeo.com
Thu Sep 29 11:23:53 EDT 2005


Hi,

I am getting infos on the current process, under linux, by reading the
file pointed by:

'/proc/%d/status' % os.getpid()

huh :(

There's probably another way to do it on win32 but,
i was wondering if there's a way or an existing extension out there
 to do make it work on any platform.

Regards,

Tarek




More information about the Python-list mailing list