delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/09/19/03:40:42

From: gunther DOT ebert AT ixos-leipzig DOT de (Gunther Ebert)
Subject: Re: ps, test, /dev/null questions
19 Sep 1997 03:40:42 -0700 :
Message-ID: <342251F5.6C09.cygnus.gnu-win32@ixos-leipzig.de>
References: <01BCC4E9 DOT E82B7F00 AT sos>
Mime-Version: 1.0
To: Sergey Okhapkin <sos AT prospect DOT com DOT ru>
Cc: gnu-win32 AT cygnus DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019