CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 1999
    Posts
    9

    the equivalent ps command of UNIX in windows

    Like we use the ps command in UNIX to find out the PID,the PPID etc of a particular process, and then use that information to kill the process(if necessary), is there a way this could be achieved in Windows. How would i find out the PID and PPID of a particular running application on windows. And how can i find out the exact memory locations occupied by this process. And when i kill the process does the memory occupied by the process gets freed up automatically?


  2. #2
    Join Date
    May 1999
    Location
    Seattle, WA USA
    Posts
    423

    Re: the equivalent ps command of UNIX in windows

    there is an application called tlist that lists all running processes & there PIDs (sorry no mem location's or usage) & an application called kill to kill them (both dos based). I think you get both of these with the resource kit.

    Visual Studio comes with Process Viewer & NT has the Task manager (it shows mem usage, but not location).

    HTH
    --michael


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured