public class ProcInfo extends SigarCommandBase implements Closable
Constructor and Description |
---|
ProcInfo() |
ProcInfo(org.hyperic.sigar.cmd.Shell shell) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Perform some clean up rutine
|
protected void |
finalize() |
List<Long> |
GetData(String processname,
String altname)
gets the list of PIDs for a specific process merged by name and altname
|
List<Long> |
getDataWindows(String servicename,
String altname,
boolean IsWindowsService)
gets the list of PIDs for a specific process merged by name and altname
|
void |
restartWindowsService(String servicename) |
complete, completePid, flush, getCompleter, getCompletions, getFormatter, isPidCompleter, printf, printf, printf, println, setOutputFormat, sprintf, validateArgs
public ProcInfo(org.hyperic.sigar.cmd.Shell shell)
public ProcInfo()
public List<Long> GetData(String processname, String altname) throws org.hyperic.sigar.SigarException
processname
- altname
- org.hyperic.sigar.SigarException
public List<Long> getDataWindows(String servicename, String altname, boolean IsWindowsService) throws org.hyperic.sigar.SigarException
processname
- altname
- org.hyperic.sigar.SigarException
public void restartWindowsService(String servicename) throws org.hyperic.sigar.SigarException
org.hyperic.sigar.SigarException
public void close() throws Exception
Closable
Copyright © 2008–2017 MIL-OSS. All rights reserved.