org.ow2.jasmine.monitoring.mbeancmd.commands
Class DiskFree

java.lang.Object
  extended by org.ow2.jasmine.monitoring.mbeancmd.AbstractCommand
      extended by org.ow2.jasmine.monitoring.mbeancmd.commands.Lewys
          extended by org.ow2.jasmine.monitoring.mbeancmd.commands.DiskFree
All Implemented Interfaces:
Command

public class DiskFree
extends Lewys

Give the disk free space in % for a given disk This command does not use Lewys, but the df command. It works only on linux.


Field Summary
 
Fields inherited from class org.ow2.jasmine.monitoring.mbeancmd.commands.Lewys
arg_probe_config, commandLine, domainName, graphDef, header, jasmineURI, LINUX_2_4, LINUX_2_6, MAC_OS_X, options, osType, outputFilePath, period, pout, probe, separator, serverName, WINDOWS
 
Fields inherited from class org.ow2.jasmine.monitoring.mbeancmd.AbstractCommand
arguments, logger, name, SIMPLEDATEFORMAT
 
Constructor Summary
DiskFree()
           
 
Method Summary
protected  void configProbe()
           
protected  void lewysPoll()
           
static void main(String[] args)
          Tests the command.
 
Methods inherited from class org.ow2.jasmine.monitoring.mbeancmd.commands.Lewys
exec, parseCommandLine, setOptions, summary
 
Methods inherited from class org.ow2.jasmine.monitoring.mbeancmd.AbstractCommand
getHelpDoc, getName, help, setArgs, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiskFree

public DiskFree()
Method Detail

main

public static void main(String[] args)
Tests the command.

Parameters:
args - Arguments to pass to command

lewysPoll

protected void lewysPoll()
Specified by:
lewysPoll in class Lewys

configProbe

protected void configProbe()
Specified by:
configProbe in class Lewys


Copyright © 2012 OW2 Consortium. All Rights Reserved.