|
|
@ -30,20 +30,26 @@ type PartitionStat struct {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type IOCountersStat struct {
|
|
|
|
type IOCountersStat struct {
|
|
|
|
ReadCount uint64 `json:"readCount"`
|
|
|
|
ReadCount uint64 `json:"readCount"`
|
|
|
|
MergedReadCount uint64 `json:"mergedReadCount"`
|
|
|
|
MergedReadCount uint64 `json:"mergedReadCount"`
|
|
|
|
WriteCount uint64 `json:"writeCount"`
|
|
|
|
WriteCount uint64 `json:"writeCount"`
|
|
|
|
MergedWriteCount uint64 `json:"mergedWriteCount"`
|
|
|
|
MergedWriteCount uint64 `json:"mergedWriteCount"`
|
|
|
|
ReadBytes uint64 `json:"readBytes"`
|
|
|
|
ReadBytes uint64 `json:"readBytes"`
|
|
|
|
WriteBytes uint64 `json:"writeBytes"`
|
|
|
|
WriteBytes uint64 `json:"writeBytes"`
|
|
|
|
ReadTime uint64 `json:"readTime"`
|
|
|
|
ReadTime uint64 `json:"readTime"`
|
|
|
|
WriteTime uint64 `json:"writeTime"`
|
|
|
|
WriteTime uint64 `json:"writeTime"`
|
|
|
|
IopsInProgress uint64 `json:"iopsInProgress"`
|
|
|
|
IopsInProgress uint64 `json:"iopsInProgress"`
|
|
|
|
IoTime uint64 `json:"ioTime"`
|
|
|
|
IoTime uint64 `json:"ioTime"`
|
|
|
|
WeightedIO uint64 `json:"weightedIO"`
|
|
|
|
WeightedIO uint64 `json:"weightedIO"`
|
|
|
|
Name string `json:"name"`
|
|
|
|
DiscardCount uint64 `json:"discardCount"`
|
|
|
|
SerialNumber string `json:"serialNumber"`
|
|
|
|
MergedDiscardCount uint64 `json:"mergedDiscardCount"`
|
|
|
|
Label string `json:"label"`
|
|
|
|
SectorsDiscardedCount uint64 `json:"sectorsDiscardedCount"`
|
|
|
|
|
|
|
|
DiscardTime uint64 `json:"discardTime"`
|
|
|
|
|
|
|
|
FlushCount uint64 `json:"flushCount"`
|
|
|
|
|
|
|
|
FlushTime uint64 `json:"flushTime"`
|
|
|
|
|
|
|
|
Name string `json:"name"`
|
|
|
|
|
|
|
|
SerialNumber string `json:"serialNumber"`
|
|
|
|
|
|
|
|
Label string `json:"label"`
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (d UsageStat) String() string {
|
|
|
|
func (d UsageStat) String() string {
|
|
|
|