WildFly Common 1.3.0.Final
- Summary:
- Nested |
- Field |
- Constr |
- Method
- Detail:
- Field |
- Constr |
- Method
- java.lang.Object
-
- org.wildfly.common.os.Process
-
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getProcessName
public static java.lang.String getProcessName()
Get the name of this process. If the process name is not known, then "<unknown>" is returned.
- Returns:
- the process name (not
null)
-
getProcessId
public static long getProcessId()
Get the ID of this process. This is the operating system specific PID. If the PID cannot be determined,
-1 is returned.
- Returns:
- the ID of this process, or -1 if it cannot be determined
WildFly Common 1.3.0.Final
- Summary:
- Nested |
- Field |
- Constr |
- Method
- Detail:
- Field |
- Constr |
- Method
Copyright © 2017 JBoss, a division of Red Hat, Inc.