Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DiskStats ¶
type DiskStats struct { Major int Minor int Name string ReadRequests uint64 // Total number of reads completed successfully. ReadMerged uint64 // Adjacent read requests merged in a single req. ReadSectors uint64 // Total number of sectors read successfully. MsecRead uint64 // Total number of ms spent by all reads. WriteRequests uint64 // total number of writes completed successfully. WriteMerged uint64 // Adjacent write requests merged in a single req. WriteSectors uint64 // total number of sectors written successfully. MsecWrite uint64 // Total number of ms spent by all writes. IosInProgress uint64 // Number of actual I/O requests currently in flight. MsecTotal uint64 // Amount of time during which ios_in_progress >= 1. MsecWeightedTotal uint64 // Measure of recent I/O completion time and backlog. }
type Iobeat ¶
type Iobeat struct {
// contains filtered or unexported fields
}
func (*Iobeat) CollectIOStats ¶
CollectIOStats - Collects from the specified file
Click to show internal directories.
Click to hide internal directories.