|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.sigar.shell.ShellCommandBase
org.hyperic.sigar.cmd.SigarCommandBase
org.hyperic.sigar.cmd.Uptime
Display how long the system has been running and the current load averages.
Field Summary |
Fields inherited from class org.hyperic.sigar.cmd.SigarCommandBase |
err, out, output, proxy, shell, sigar |
Fields inherited from class org.hyperic.sigar.shell.ShellCommandBase |
itsCommandName, itsShell |
Constructor Summary | |
Uptime()
|
|
Uptime(Shell shell)
|
Method Summary | |
static java.lang.String |
getInfo(SigarProxy sigar)
|
java.lang.String |
getUsageShort()
Get a very brief (40 character) description of the command |
static void |
main(java.lang.String[] args)
|
void |
output(java.lang.String[] args)
|
Methods inherited from class org.hyperic.sigar.cmd.SigarCommandBase |
complete, completePid, flush, getCompleter, getCompletions, getFormatter, isPidCompleter, printf, printf, printf, println, processCommand, setOutputFormat, sprintf, validateArgs |
Methods inherited from class org.hyperic.sigar.shell.ShellCommandBase |
getCommandName, getErrStream, getOutStream, getShell, getSyntax, getSyntaxArgs, getUsageHelp, init |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Uptime(Shell shell)
public Uptime()
Method Detail |
public java.lang.String getUsageShort()
ShellCommandHandler
getUsageShort
in interface ShellCommandHandler
getUsageShort
in class ShellCommandBase
public void output(java.lang.String[] args) throws SigarException
output
in class SigarCommandBase
SigarException
public static java.lang.String getInfo(SigarProxy sigar) throws SigarException
SigarException
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |