Searched refs:aPid (Results 1 - 2 of 2) sorted by relevance

/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/universal/process/
H A DProcessUtils.java129 * @param aPid
133 public static final Boolean isProcessRunning(int aPid) { argument
136 return isProcessRunningWindows(aPid);
138 return isProcessRunningUnix(aPid);
150 private static boolean isProcessRunningWindows(int aPid) throws ProcessManagerException { argument
151 String pidString = Integer.toString(aPid);
173 if (out.indexOf("" + aPid) >= 0)
182 private static Boolean isProcessRunningUnix(int aPid) throws ProcessManagerException { argument
183 ProcessManager pm = new ProcessManager("kill", "-0", "" + aPid);
H A DJps.java119 int aPid = 0;
121 aPid = Integer.parseInt(sublines[0]);
128 pidMap.put(sublines[1], aPid);

Completed in 379 milliseconds