I am wondering if it is possible to get information (like memory usage) about a running process which can be normally seen in the Processes tab of the Windows Task Manager.
If yes, is there any way of doing it, using java?
I am wondering if it is possible to get information (like memory usage) about
Share
Windows has a command called
tasklistthat gives youYou can use a
Runtime.getRuntime().exec("tasklist.exe")to read that information.Something like this: