• Post Reply Bookmark Topic Watch Topic
  • New Topic

Listing Windows Processes  RSS feed

 
Manjunatha Eshappa
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Any body can tell how to get the details of all processes that are running in Windows 2000 Professional.

Best Regards
Manju
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Launch the task manager.
 
Manjunatha Eshappa
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry, my question was how to read Processes details using java & then save details in a file.
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java has no API for this. You choices are to run an external program using Runtime.exec() (Windows doesn't include a command-line process lister that I'm aware of, so this isn't really an option) or use the Java Native Interface to call the Win32 API directly and get this information. There are commercial native libraries that expose the Win32 API to Java.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!