org.hyperic.sigar.cmd
Class Free

java.lang.Object
  extended byorg.hyperic.sigar.shell.ShellCommandBase
      extended byorg.hyperic.sigar.cmd.SigarCommandBase
          extended byorg.hyperic.sigar.cmd.Free
All Implemented Interfaces:
GetlineCompleter, ShellCommandHandler

public class Free
extends SigarCommandBase

Display amount of free and used memory in the system.


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
Free()
           
Free(Shell shell)
           
 
Method Summary
 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

Free

public Free(Shell shell)

Free

public Free()
Method Detail

getUsageShort

public java.lang.String getUsageShort()
Description copied from interface: ShellCommandHandler
Get a very brief (40 character) description of the command

Specified by:
getUsageShort in interface ShellCommandHandler
Overrides:
getUsageShort in class ShellCommandBase

output

public void output(java.lang.String[] args)
            throws SigarException
Specified by:
output in class SigarCommandBase
Throws:
SigarException

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2004-2006 Hyperic. All Rights Reserved.