public class FileSystemUsage
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
FileSystemUsage() |
Modifier and Type | Method and Description |
---|---|
void |
gather(Sigar sigar,
java.lang.String name) |
long |
getAvail()
Get the Total free Kbytes on filesystem available to caller.
|
double |
getDiskQueue()
Get the disk_queue.
|
long |
getDiskReadBytes()
Get the Number of physical disk bytes read.
|
long |
getDiskReads()
Get the Number of physical disk reads.
|
double |
getDiskServiceTime()
Get the disk_service_time.
|
long |
getDiskWriteBytes()
Get the Number of physical disk bytes written.
|
long |
getDiskWrites()
Get the Number of physical disk writes.
|
long |
getFiles()
Get the Total number of file nodes on the filesystem.
|
long |
getFree()
Get the Total free Kbytes on filesystem.
|
long |
getFreeFiles()
Get the Number of free file nodes on the filesystem.
|
long |
getTotal()
Get the Total Kbytes of filesystem.
|
long |
getUsed()
Get the Total used Kbytes on filesystem.
|
double |
getUsePercent()
Get the Percent of disk used.
|
java.util.Map |
toMap() |
java.lang.String |
toString() |
public void gather(Sigar sigar, java.lang.String name) throws SigarException
SigarException
public long getTotal()
Supported Platforms: All.
System equivalent commands:
df
df
df
df
df
df
public long getFree()
Supported Platforms: All.
System equivalent commands:
df
df
df
df
df
df
public long getUsed()
Supported Platforms: All.
System equivalent commands:
df
df
df
df
df
df
public long getAvail()
Supported Platforms: All.
System equivalent commands:
df
df
df
df
df
df
public long getFiles()
Supported Platforms: AIX, Darwin, FreeBSD, HPUX, Linux, Solaris.
System equivalent commands:
df
df
df
df
df
df
public long getFreeFiles()
Supported Platforms: AIX, Darwin, FreeBSD, HPUX, Linux, Solaris.
System equivalent commands:
df
df
df
df
df
df
public long getDiskReads()
Supported Platforms: AIX, FreeBSD, HPUX, Linux, Solaris, Win32.
System equivalent commands:
df
df
df
df
df
df
public long getDiskWrites()
Supported Platforms: AIX, FreeBSD, HPUX, Linux, Solaris, Win32.
System equivalent commands:
df
df
df
df
df
df
public long getDiskReadBytes()
Supported Platforms: Undocumented.
System equivalent commands:
df
df
df
df
df
df
public long getDiskWriteBytes()
Supported Platforms: Undocumented.
System equivalent commands:
df
df
df
df
df
df
public double getDiskQueue()
Supported Platforms: Undocumented.
System equivalent commands:
df
df
df
df
df
df
public double getDiskServiceTime()
Supported Platforms: Undocumented.
System equivalent commands:
df
df
df
df
df
df
public double getUsePercent()
Supported Platforms: All.
System equivalent commands:
df
df
df
df
df
df
public java.util.Map toMap()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright ? 2004-2011 Hyperic. All Rights Reserved.