| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hyperic.sigar.ProcState
public class ProcState
ProcState sigar class.
| Field Summary | |
|---|---|
| static char | IDLE | 
| static char | RUN | 
| static char | SLEEP | 
| static char | STOP | 
| static char | ZOMBIE | 
| Constructor Summary | |
|---|---|
| ProcState() | |
| Method Summary | |
|---|---|
|  void | gather(Sigar sigar,
       long pid) | 
|  java.lang.String | getName()Get the Name of the process program. | 
|  int | getNice()Get the Nice value of process. | 
|  long | getPpid()Get the Process parent process id. | 
|  int | getPriority()Get the Kernel scheduling priority of process. | 
|  int | getProcessor()Get the Processor number last run on. | 
|  char | getState()Get the Process state (Running, Zombie, etc.). | 
|  long | getThreads()Get the Number of active threads. | 
|  int | getTty()Get the Device number of rocess controling terminal. | 
|  java.util.Map | toMap() | 
|  java.lang.String | toString() | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public static final char SLEEP
public static final char RUN
public static final char STOP
public static final char ZOMBIE
public static final char IDLE
| Constructor Detail | 
|---|
public ProcState()
| Method Detail | 
|---|
public void gather(Sigar sigar,
                   long pid)
            throws SigarException
SigarExceptionpublic char getState()
Supported Platforms: All.
System equivalent commands:
top, pstop, pstop, pstop, pstop, pstop, pstaskman
public java.lang.String getName()
Supported Platforms: All.
System equivalent commands:
top, pstop, pstop, pstop, pstop, pstop, pstaskman
public long getPpid()
Supported Platforms: All.
System equivalent commands:
top, pstop, pstop, pstop, pstop, pstop, pstaskman
public int getTty()
Supported Platforms: AIX, HPUX, Linux, Solaris.
System equivalent commands:
top, pstop, pstop, pstop, pstop, pstop, pstaskman
public int getNice()
Supported Platforms: AIX, Darwin, FreeBSD, HPUX, Linux, Solaris.
System equivalent commands:
top, pstop, pstop, pstop, pstop, pstop, pstaskman
public int getPriority()
Supported Platforms: Darwin, FreeBSD, HPUX, Linux, Solaris, Win32.
System equivalent commands:
top, pstop, pstop, pstop, pstop, pstop, pstaskman
public long getThreads()
Supported Platforms: AIX, Darwin, HPUX, Linux, Solaris, Win32.
System equivalent commands:
top, pstop, pstop, pstop, pstop, pstop, pstaskman
public int getProcessor()
Supported Platforms: AIX, HPUX, Linux, Solaris.
System equivalent commands:
top, pstop, pstop, pstop, pstop, pstop, pstaskman
public java.util.Map toMap()
public java.lang.String toString()
toString in class java.lang.Object| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||