| Constructor and Description |
|---|
Stat() |
| Modifier and Type | Method and Description |
|---|---|
int |
getDaemonCount()
the count of all daemon, -1 means not supported.
|
int |
getMemoryCent()
percent of MemoryLoad
|
long |
getMemoryFree()
HeapMemory.Committed in byte, -1 means not supported.
|
int |
getMemoryLoad()
Committed / memorySize, range is [0-100], -1 means not supported.
|
long |
getMemorySize()
HeapMemory.max in byte, -1 means not supported.
|
String |
getName()
Current process name
|
int |
getPid()
Current process pid
|
int |
getProcessCent()
percent of process %CPU, range is [0-100]
|
int |
getProcessLoad()
the process load avg, range is [0-100x processor], -1 means not supported.
|
int |
getProcessor()
the Count of Available Processors
|
int |
getSystemCent()
percent of system %CPU, range is [0-100]
|
int |
getSystemLoad()
the system load avg, range is [0-100x processor], -1 means not supported.
|
int |
getThreadCount()
the count of all thread including daemon, -1 means not supported.
|
int |
getThreadLoad()
Get the average number of threads per processor
|
long |
getTimeCost()
Millisecond elapsed time at completion
|
long |
getTimeDone()
Millisecond timestamp at completion
|
String |
toString() |
public long getTimeDone()
public long getTimeCost()
public int getPid()
public String getName()
public int getProcessor()
public int getSystemLoad()
public int getProcessLoad()
public int getThreadCount()
public int getDaemonCount()
public long getMemorySize()
public long getMemoryFree()
public int getMemoryLoad()
public int getMemoryCent()
public int getProcessCent()
public int getSystemCent()
public int getThreadLoad()
Copyright © 2024. All rights reserved.