From: sfield AT microsoft DOT com (Scott Field) Subject: RE: source code for 'ps' command ? 24 Oct 1996 09:35:40 -0700 Sender: daemon AT cygnus DOT com Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: Original-To: "'Enrico Brunetta'" , "'Geoffrey Noer'" Original-Cc: "'gnu-win32 AT cygnus DOT com'" X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.994.56 Encoding: 35 TEXT Original-Sender: owner-gnu-win32 AT cygnus DOT com There are a variety of existing tools that do this for WinNT, that display all processes in the system. Source for a couple are found in the Win32SDK, like tlist.exe. My personal favorite is pstat.exe found in the win32sdk \mstools\bin >-----Original Message----- >From: Enrico Brunetta [SMTP:enrico AT modulo DOT com] >Sent: Wednesday, October 23, 1996 8:09 AM >To: Geoffrey Noer >Cc: gnu-win32 AT cygnus DOT com >Subject: Re: source code for 'ps' command ? > > >Geoffrey Noer (noer AT cygnus DOT com) wrote on Oct 22, 1996 15:17: >>> I just downloaded the distribution and found a ps.exe (which works fine) >>> >>> I was wondering why there is no source code for the command (I'm a NT >>>newbie >>> that would like to know how the ps program interfaces with the OS). >> >>src/winsup/utils/ps.cc > >Thanks for indicating the source code location, as it turns out my download >was >aborted and I was missing that directory tree. > >On the other hand, it seems to me that the 'ps' command is monitoring just >subprocesses of bash. Is that true ? If so, is there any other command that >will allow me to see every single process on my machine ? > >Thanks, >Enrico. >- >For help on using this list, send a message to >"gnu-win32-request AT cygnus DOT com" with one line of text: "help". - For help on using this list, send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".