org.hyperic.sigar.cmd
Class Iostat
java.lang.Object
org.hyperic.sigar.shell.ShellCommandBase
org.hyperic.sigar.cmd.SigarCommandBase
org.hyperic.sigar.cmd.Iostat
- All Implemented Interfaces:
- ShellCommandHandler, GetlineCompleter
public class Iostat
- extends SigarCommandBase
Report filesytem disk space usage.
Methods inherited from class org.hyperic.sigar.cmd.SigarCommandBase |
complete, completePid, flush, getCompletions, getFormatter, isPidCompleter, printf, printf, printf, println, processCommand, setOutputFormat, sprintf |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Iostat
public Iostat(Shell shell)
Iostat
public Iostat()
getCompleter
public GetlineCompleter getCompleter()
- Overrides:
getCompleter
in class SigarCommandBase
validateArgs
protected boolean validateArgs(java.lang.String[] args)
- Overrides:
validateArgs
in class SigarCommandBase
getSyntaxArgs
public java.lang.String getSyntaxArgs()
- Overrides:
getSyntaxArgs
in class ShellCommandBase
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
- Returns:
- A description of the command.
printHeader
public void printHeader()
output
public void output(java.lang.String[] args)
throws SigarException
- Specified by:
output
in class SigarCommandBase
- Throws:
SigarException
outputFileSystem
public void outputFileSystem(java.lang.String arg)
throws SigarException
- Throws:
SigarException
outputDisk
public void outputDisk(java.lang.String name)
throws SigarException
- Throws:
SigarException
output
public void output(FileSystem fs)
throws SigarException
- Throws:
SigarException
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright ? 2004-2009 Hyperic. All Rights Reserved.