JBoss

JMX MBean View

Back to Agent View Refresh MBean View

MBean description:

df Command Service. Defines command used on *nix operation systems to assess free available disk space on storage file system(s). Has no effect on Windows operation systems.

List of MBean attributes:

Name Type Access Value Description
Name java.lang.String R DFCommandService The class name of the MBean
State int R 3 The status of the MBean
StateString java.lang.String R Started The status of the MBean in text form
DFCommand java.lang.String RW df command used on *nix operation systems to assess free available disk space on storage file system(s). You may change the default value to use a different version than the first in the system PATH.

Example: /usr/xpg4/bin/df

Default: df

DFCommandOption java.lang.String RW df command option used on *nix operation systems to assess free available disk space on storage file system(s).
If you change the default value for POSIX compliant output, a wrong value for the free available disk space may be derived from the command output.
=> Always verify, if freeDiskSpace() of file system service(s) (still) returns the correct value, after any modification of DFCommandOption or DFCommand.
Example: -k
Default Value: -P

List of MBean operations:


void create()

Standard MBean lifecycle method


void start()

The start lifecycle operation


void stop()

The stop lifecycle operation


void destroy()

The destroy lifecycle operation


void jbossInternalLifecycle()

The detyped lifecycle operation (for internal use only)

Param ParamType ParamValue ParamDescription
method java.lang.String The lifecycle operation

long freeSpace()

Get free space for given path.

Param ParamType ParamValue ParamDescription
path java.lang.String Path String