/** * Returns true if a process identified by the process id is currently running on this host * machine. * * @param pid process id to check for * @return true if the pid matches a currently running process */ public static boolean isProcessAlive(final int pid) { return internal.isProcessAlive(pid); }
/** * Returns true if a process identified by the process id was running on this host machine and has * been terminated by this operation. * * @param pid process id * @return true if the process was terminated by this operation */ public static boolean killProcess(final int pid) { return internal.killProcess(pid); }
/** * Returns true if a fully functional implementation is available. If the Attach API or JNA * NativeCalls are available then this returns true. */ public static boolean isAvailable() { return internal.isAvailable(); }