public class UnixProcessManagement extends ProcessManagement
Modifier and Type | Field and Description |
---|---|
static int |
COMMAND_COMPONENTS_LENGTH |
log
Constructor and Description |
---|
UnixProcessManagement() |
Modifier and Type | Method and Description |
---|---|
void |
generateStackTrace(int pid,
String command) |
String |
getGentleKillCmd(String pid) |
Map<Integer,Map<String,String>> |
getPids() |
String |
getPsDetectionCommand() |
String |
getRudeKillCmd(String pid) |
buildLog, executeCommand, getInstance, getRelatedProcesses, getStackTraceAndKillRelatedProcesses, isMac, isUnix, isWindows, sleep
public static final int COMMAND_COMPONENTS_LENGTH
public Map<Integer,Map<String,String>> getPids()
getPids
in class ProcessManagement
public String getPsDetectionCommand()
getPsDetectionCommand
in class ProcessManagement
public void generateStackTrace(int pid, String command)
generateStackTrace
in class ProcessManagement
public String getGentleKillCmd(String pid)
getGentleKillCmd
in class ProcessManagement
public String getRudeKillCmd(String pid)
getRudeKillCmd
in class ProcessManagement
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.