org.openqa.selenium.os
Class UnixUtils

java.lang.Object
  extended by org.openqa.selenium.os.UnixUtils

public class UnixUtils
extends Object

Handy utilities for managing Unix/Linux processes


Constructor Summary
UnixUtils()
           
 
Method Summary
static int getProcessId(Process p)
          retrieves the pid
static void kill9(Integer pid)
          runs "kill -9" on the specified pid
static void kill9(Process p)
          runs "kill -9" on the specified process
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnixUtils

public UnixUtils()
Method Detail

getProcessId

public static int getProcessId(Process p)
retrieves the pid


kill9

public static void kill9(Integer pid)
runs "kill -9" on the specified pid


kill9

public static void kill9(Process p)
runs "kill -9" on the specified process



Copyright © 2011. All Rights Reserved.