Mail Archives: cygwin/1997/09/19/03:40:42
Sergey Okhapkin wrote:
>
> > explained, you can only see cygnus processes - not a good port IMHO.
> > Also pview is a grpahical utility AND you have to have the reosurce
> > kit! Anyway, if you have the resource kit, you can use the TLIST
> > command.
>
> NT's built-in task manager will show you all the running processes. Do you
> know a _documented_ way to enumerate running processes on Windows NT?-)
>
There is a registry key HKEY_PERFORMANCE_DATA which contains all information
about system performance. Information about running processes is also
stored there. I don't know if there is an explicit documentation which says
'If you want to enumerate all running processes then do this or that'
but the data structures of the HKEY_PERFORMANCE_DATA key are documented.
At least the MSDN library includes the source code of the tlist utility which
shows how to deal with the HKEY_PERFORMANCE_DATA key to enumerate all
running processes.
Gunther
--
Gunther Ebert
iXOS Anwendungs-Software GmbH
Angerstrasse 40-42
D-04177 Leipzig
Phone : +49 341 48503-0
Fax : +49 341 48503-99
E-mail: mailto:gunther DOT ebert AT ixos-leipzig DOT de
www : http://www.ixos-leipzig.de
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -