public final class TasklistUtil extends Object
Utility class that finds all running processes with the given name by using microsoft's command line until "tasklist.exe".
Requires running under MS Windows!
Modifier and Type | Method and Description |
---|---|
static Collection<Integer> |
findPIDsForProcessName(String processName)
Find all processes with the given name
|
public static Collection<Integer> findPIDsForProcessName(String processName)
processName
- the process name to scan forCopyright © 2017 levigo holding gmbh. All rights reserved.