How to read task manager list using java program

I am trying to read the process names from the list of REMOTE task managers. that is, a java program that polls to different task lists of remote computers.

Can anyone suggest a good solution for this ??

Thanks in advance...

+3
source share
2 answers

You can use WMI to connect to a remote windowed computer and ssh to connect to a uinx machine.

There are many free SSH implementations for java. If you need WMI, I would recommend you use jinterop.

to use WMI

select * from WIN32_Process;

for using ssh

ps.

The window also supports telenet, so you can connect to windows using telnet if you want.

+1

, , - , "" , .

:

  • , ( , )
  • ( , - , )
  • ( , ).
  • ( /, )
  • ( , "process-list-server" ).
0

Source: https://habr.com/ru/post/1777061/


All Articles