C
C
cthulhudx2015-04-01 00:24:07
Java
cthulhudx, 2015-04-01 00:24:07

How to organize getting a list of processes in Java?

There is a task - to write an analogue of the task manager for windows using system calls and jni. Is there a way to organize getting a list of system processes without constantly polling it? Is it possible to organize receiving processes according to the listener / observer principle? changing the list of processes).

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Martyanov, 2015-04-01
@vilgeforce

Judging by https://msdn.microsoft.com/en-us/library/aa390425%... Windows provides the ability to receive notifications. How to fasten all this to Java is a separate question ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question