Package com.atlassian.bamboo.process
Class UnixProcessManagement
java.lang.Object
com.atlassian.bamboo.process.ProcessManagement
com.atlassian.bamboo.process.UnixProcessManagement
-
Field Summary
Fields inherited from class com.atlassian.bamboo.process.ProcessManagement
log
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
generateStackTrace
(int pid, String command) getGentleKillCmd
(String pid) getPids()
getRudeKillCmd
(String pid) Methods inherited from class com.atlassian.bamboo.process.ProcessManagement
buildLog, executeCommand, getInstance, getRelatedProcesses, getStackTraceAndKillRelatedProcesses, isMac, isUnix, isWindows, sleep
-
Field Details
-
COMMAND_COMPONENTS_LENGTH
public static final int COMMAND_COMPONENTS_LENGTH- See Also:
-
-
Constructor Details
-
UnixProcessManagement
public UnixProcessManagement()
-
-
Method Details
-
getPids
- Overrides:
getPids
in classProcessManagement
-
getPsDetectionCommand
- Specified by:
getPsDetectionCommand
in classProcessManagement
-
generateStackTrace
- Specified by:
generateStackTrace
in classProcessManagement
-
getGentleKillCmd
- Specified by:
getGentleKillCmd
in classProcessManagement
-
getRudeKillCmd
- Specified by:
getRudeKillCmd
in classProcessManagement
-