Subject: Re: ps, test, /dev/null questions
From: [email-masked] (Gunther Ebert)

19 Sep 1997 03:40:42 -0700
Message-ID: <[email-masked]>
References: <01BCC4E9.E82B7F00@sos>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: Sergey Okhapkin <[email-masked]>
Cc: [email-masked]

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:[email-masked]
www   : http://www.ixos-leipzig.de
-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".