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, kill
protected 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 UnixProcessManager
public Matcher getLineMatcher(String line)
public String findPid(String regex) throws IOException
findPid
in interface ProcessManager
findPid
in class UnixProcessManager
IOException
protected List<String> execute(String... command) throws IOException
IOException
Copyright © 2018 Nuxeo. All rights reserved.