Re: [Tutor] Generalising system processes
by R. Alan Monroe other posts by this author
Sep 29 2005 6:06AM messages near this date
[Tutor] Generalising system processes
|
[Tutor] New-style classes
> Is there a library in Python that generalises the display of processes
> in the system.
> I am looking for a consistent way of seeing processess, (a python
> equivalent of ps(unix) or tasklist (windows).
> I have googled but the only suggestion I have found was to install ps
> on Windows.
On Windows, you can probably use ctypes module to call
CreateToolhelp32Snapshot()
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/perfmon/base/createtoolhelp
32snapshot.asp
I have not tried this in Python, though.
Alan
_______________________________________________
Tutor maillist - Tutor@[...].org
http://mail.python.org/mailman/listinfo/tutor
Thread:
Peter Jessop
R. Alan Monroe
|