public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Hilton Fernandes" <hfernandes@mail.geocities.com>
To: Sergey Okhapkin <sos@prospect.com.ru>, Gnu-Win32 <gnu-win32@cygnus.com>
Cc: Hilton Fernandes <hfernandes@mail.geocities.com>
Subject: RE: ps, test, /dev/null questions
Date: Fri, 19 Sep 1997 19:29:00 -0000	[thread overview]
Message-ID: <199709200228.TAA11947@geocities.com> (raw)
In-Reply-To: <01BCC4E9.E82B7F00@sos>

On 19 Sep 97 at 10:50, Sergey Okhapkin <sos@prospect.com.ru> wrote:

> 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?-)

Hi!

I found a kind of documentation in the the MSVC 4.0 samples in the 
folder 		
	\MSDEV\SAMPLES\SDK\SDKTools\WinNT\PViewer

Here is the caput of its README.TXT

	Sample: Process Viewer

	Summary:

	The Process Viewer sample shows how to read the various bits
	of trivia and statistics from the Registry relating to the
	various threads and process hanging about on your machine.
	It also allows you to muck about with the priority of the
	processes.  There is about a third of the code present to
	do the same on a thread-by-thread basis, so if you feel
	adventurous and/or wish to learn something, feel free to
	flesh those sections out.

A good written documentation can be more enlightening than a 
well-documented code?  Yes, but as far as i could read, this one 
looks good.  Definetly better than nothing. :-)

Since it is for NT only, i could not test it in my machine, which
runs now under Win95 only. :-( 

It seems PViewer is not the same thing as PView, a utility that comes 
with MSVC and runs under Win95.

BTW, in the same directory (or folder) as PViewer there's a tlist 
folder (or directory :-) that contains -- you guessed it -- a task 
list pgm.  It contains a very interesting function GetTaskList(), 
that creates a task list.

Maybe that can help you contribute even more to the gnu-win32
project.


Best regards,
++Hilton
----
Hilton Fernandes
hfernandes@geocities.com
http://www.geocities.com/SiliconValley/Lakes/5657
URLs and help on C++ programming and Object-Oriented Design
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

  parent reply	other threads:[~1997-09-19 19:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-18 23:50 Sergey Okhapkin
1997-09-19  3:22 ` Gunther Ebert
1997-09-19 12:39 ` Lassi A. Tuura
1997-09-19 19:29 ` Hilton Fernandes [this message]
1997-09-19 20:10 ` Alex
  -- strict thread matches above, loose matches on Subject: below --
1997-09-21 12:29 Ken Cantrell
1997-09-18 16:47 Larry Hall
1997-09-19  8:41 ` Pete Jordan
1997-09-18 12:23 Khosla, Deepak
1997-09-20  7:22 ` Michael Hirmke
1997-09-17 11:41 Khosla, Deepak
1997-09-17 21:44 ` Mikey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199709200228.TAA11947@geocities.com \
    --to=hfernandes@mail.geocities.com \
    --cc=gnu-win32@cygnus.com \
    --cc=sos@prospect.com.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).