Package org.jvnet.hudson
Class Aix
- java.lang.Object
-
- org.jvnet.hudson.MemoryMonitor
-
- org.jvnet.hudson.Aix
-
public class Aix extends MemoryMonitor
AIX- Author:
- qxodream@gmail.com
-
-
Constructor Summary
Constructors Constructor Description Aix()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
cutTail(String token)
long
getSize(long totalSwap, String unit)
static void
main(String[] args)
MemoryUsage
monitor()
Obtains the memory usage statistics.protected long
parse(String token)
-
Methods inherited from class org.jvnet.hudson.MemoryMonitor
get
-
-
-
-
Method Detail
-
monitor
public MemoryUsage monitor() throws IOException
Description copied from class:MemoryMonitor
Obtains the memory usage statistics.- Specified by:
monitor
in classMemoryMonitor
- Returns:
- always non-null object.
- Throws:
IOException
- If the computation fails for some reason.
-
main
public static void main(String[] args) throws IOException
- Throws:
IOException
-
getSize
public long getSize(long totalSwap, String unit)
-
parse
protected long parse(String token)
-
-