File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes General Computing and the fly likes process Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "process" Watch "process" New topic
Author

process

Kia Phia Ben
Ranch Hand

Joined: Dec 16, 2005
Posts: 48
Hi all.
Please tell me how to get all process of windows.
Thank for help me
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39548
    
  27
I think Windows has a built-in command-line utility for listing processes, but I can;t find any docs about it. This free tool would seem to do the same thing. You can run it via Runtime.exec, and then read and parse its output.

If you're looking for a Java API, have a look at JConfig.


Ping & DNS - updated with new look and Ping home screen widget
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18117
    
  39

Originally posted by Ulf Dittmer:
I think Windows has a built-in command-line utility for listing processes, but I can;t find any docs about it. This free tool would seem to do the same thing. You can run it via Runtime.exec, and then read and parse its output.

If you're looking for a Java API, have a look at JConfig.


The built-in command-line utility for listing processes in Windows is tasklist. Unfortunately, it is possible to not install it, so I don't know if "built-in" is the correct term.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 10916
    
  12

Since this doesn't seem to be a java specific question, i'm going to move this to our "General Computing" forum.


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: process
 
Similar Threads
How to find UDDI for EBay
Data Access Object
Can you assign unique thread ids and access thread from external program?
How to find UDDI for EBay
Output missing something...