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: 41621
    
  55
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 - my free Android networking tools app
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18764
    
  40

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: 11256
    
  16

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: process