Package com.atlassian.bamboo.process
Class UnixProcessManagement
- java.lang.Object
-
- com.atlassian.bamboo.process.ProcessManagement
-
- com.atlassian.bamboo.process.UnixProcessManagement
-
public class UnixProcessManagement extends ProcessManagement
-
-
Field Summary
Fields Modifier and Type Field Description static int
COMMAND_COMPONENTS_LENGTH
-
Fields inherited from class com.atlassian.bamboo.process.ProcessManagement
log
-
-
Constructor Summary
Constructors Constructor Description UnixProcessManagement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
generateStackTrace(int pid, String command)
String
getGentleKillCmd(String pid)
Map<Integer,Map<String,String>>
getPids()
String
getPsDetectionCommand()
String
getRudeKillCmd(String pid)
-
Methods inherited from class com.atlassian.bamboo.process.ProcessManagement
buildLog, executeCommand, getInstance, getRelatedProcesses, getStackTraceAndKillRelatedProcesses, isMac, isUnix, isWindows, sleep
-
-
-
-
Field Detail
-
COMMAND_COMPONENTS_LENGTH
public static final int COMMAND_COMPONENTS_LENGTH
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPids
public Map<Integer,Map<String,String>> getPids()
- Overrides:
getPids
in classProcessManagement
-
getPsDetectionCommand
public String getPsDetectionCommand()
- Specified by:
getPsDetectionCommand
in classProcessManagement
-
generateStackTrace
public void generateStackTrace(int pid, String command)
- Specified by:
generateStackTrace
in classProcessManagement
-
getGentleKillCmd
public String getGentleKillCmd(String pid)
- Specified by:
getGentleKillCmd
in classProcessManagement
-
getRudeKillCmd
public String getRudeKillCmd(String pid)
- Specified by:
getRudeKillCmd
in classProcessManagement
-
-