Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

process

 
Kia Phia Ben
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all.
Please tell me how to get all process of windows.
Thank for help me
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Henry Wong
author
Marshal
Pie
Posts: 21114
78
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
fred rosenberger
lowercase baba
Bartender
Posts: 12122
30
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since this doesn't seem to be a java specific question, i'm going to move this to our "General Computing" forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic