org.jvnet.hudson
Class Solaris
java.lang.Object
org.jvnet.hudson.MemoryMonitor
org.jvnet.hudson.Solaris
public class Solaris
- extends MemoryMonitor
For Solaris, where top(1) is an optional install.
- Author:
- Kohsuke Kawaguchi
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Solaris
public Solaris()
monitor
public MemoryUsage monitor()
throws IOException
- Description copied from class:
MemoryMonitor
- Obtains the memory usage statistics.
- Specified by:
monitor in class MemoryMonitor
- Returns:
- always non-null object.
- Throws:
IOException - If the computation fails for some reason.
parse
protected long parse(String token)
cutTail
protected String cutTail(String token)
Copyright © 2004-2011. All Rights Reserved.