• Post Reply Bookmark Topic Watch Topic
  • New Topic

Retrieve task manager processes - Win2000  RSS feed

 
Beda Tsang
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,

I need a java program to get the list of current processes running on the task manager. I am using Windows 2000 server. Can any expert help on this?


Thank you very much.
 
Balasubramanian Chandrasekaran
Ranch Hand
Posts: 215
Firefox Browser Linux VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Beda Tsang:
Dear all,

I need a java program to get the list of current processes running on the task manager. I am using Windows 2000 server. Can any expert help on this?


Thank you very much.


I think you cannot get it directly.If you are using Windows 2000 operating system then you have tlist.exe If you do not have this file you will need to install the Microsoft Windows 2000 support tools. To do this, place the Windows 2000 CD into the computer and run setup.exe from \SUPPORT\TOOLS directory.By using that one you can get what you needed.

This code snippet will do the work (Only, if you have tlist.exe)


I am not very sure about this one.If it works then let me know this one
[ January 02, 2008: Message edited by: Balasubramanian Chandrasekaran ]
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
According to this list of Windows commands the msinfo32 command works on 2000. You would need to exec a bat file that issues this command and then read the output stream from the process.

Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!