ps, test, /dev/null questions

Hilton Fernandes hfernandes@mail.geocities.com
Fri Sep 19 19:29:00 GMT 1997


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".


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /