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
SigarExceptionpublic long getTotal()
Supported Platforms: All.
System equivalent commands:
dfdfdfdfdfdfpublic long getFree()
Supported Platforms: All.
System equivalent commands:
dfdfdfdfdfdfpublic long getUsed()
Supported Platforms: All.
System equivalent commands:
dfdfdfdfdfdfpublic long getAvail()
Supported Platforms: All.
System equivalent commands:
dfdfdfdfdfdfpublic long getFiles()
Supported Platforms: AIX, Darwin, FreeBSD, HPUX, Linux, Solaris.
System equivalent commands:
dfdfdfdfdfdfpublic long getFreeFiles()
Supported Platforms: AIX, Darwin, FreeBSD, HPUX, Linux, Solaris.
System equivalent commands:
dfdfdfdfdfdfpublic long getDiskReads()
Supported Platforms: AIX, FreeBSD, HPUX, Linux, Solaris, Win32.
System equivalent commands:
dfdfdfdfdfdfpublic long getDiskWrites()
Supported Platforms: AIX, FreeBSD, HPUX, Linux, Solaris, Win32.
System equivalent commands:
dfdfdfdfdfdfpublic long getDiskReadBytes()
Supported Platforms: Undocumented.
System equivalent commands:
dfdfdfdfdfdfpublic long getDiskWriteBytes()
Supported Platforms: Undocumented.
System equivalent commands:
dfdfdfdfdfdfpublic double getDiskQueue()
Supported Platforms: Undocumented.
System equivalent commands:
dfdfdfdfdfdfpublic double getDiskServiceTime()
Supported Platforms: Undocumented.
System equivalent commands:
dfdfdfdfdfdfpublic double getUsePercent()
Supported Platforms: All.
System equivalent commands:
dfdfdfdfdfdfpublic java.util.Map toMap()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright ? 2004-2011 Hyperic. All Rights Reserved.