public class SolarisProcessManager extends UnixProcessManager
| Modifier and Type | Field and Description | 
|---|---|
protected static Pattern | 
PS_OUTPUT_LINE  | 
protected static String | 
SOLARIS_10  | 
protected static String[] | 
SOLARIS_10_PS  | 
protected static String | 
SOLARIS_11  | 
protected static String[] | 
SOLARIS_11_PS  | 
protected String | 
solarisVersion  | 
PID_ENABLED| Constructor and Description | 
|---|
SolarisProcessManager()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected List<String> | 
execute(String... command)  | 
String | 
findPid(String regex)  | 
Matcher | 
getLineMatcher(String line)  | 
String | 
getSolarisVersion()  | 
protected String[] | 
psCommand()  | 
canFindPid, killprotected static final String SOLARIS_11
protected static final String SOLARIS_10
protected static final String[] SOLARIS_11_PS
protected static final String[] SOLARIS_10_PS
protected static final Pattern PS_OUTPUT_LINE
protected String solarisVersion
public SolarisProcessManager()
public String getSolarisVersion()
protected String[] psCommand()
psCommand in class UnixProcessManagerpublic Matcher getLineMatcher(String line)
public String findPid(String regex) throws IOException
findPid in interface ProcessManagerfindPid in class UnixProcessManagerIOExceptionprotected List<String> execute(String... command) throws IOException
IOExceptionCopyright © 2019 Nuxeo. All rights reserved.