Class TasklistUtil
- java.lang.Object
-
- com.levigo.jadice.server.msoffice.processid.TasklistUtil
-
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!
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Collection<Integer>
findPIDsForProcessName(String processName)
Find all processes with the given name
-
-
-
Method Detail
-
findPIDsForProcessName
public static Collection<Integer> findPIDsForProcessName(String processName)
Find all processes with the given name- Parameters:
processName
- the process name to scan for- Returns:
- All PIDs that run a process with that name
-
-