Package oshi.driver.linux.proc
Enum DiskStats.IoStat
- All Implemented Interfaces:
Serializable
,Comparable<DiskStats.IoStat>
- Enclosing class:
- DiskStats
Enum corresponding to the fields in the output of
/proc/diskstats
-
Enum Constant Summary
Enum ConstantDescriptionThe total number of discards completed successfully.Discards which are adjacent to each other merged for efficiency.The total number of milliseconds spent by all discards.The total number of sectors discarded successfully.The total number of flush requests completed successfully.The total number of milliseconds spent by all flush requests.The total number of milliseconds spent doing I/Os.Incremented at each I/O start, I/O completion, I/O merge, or read of these stats by the number of I/Os in progressIO_QUEUE_LENGTH
times the number of milliseconds spent doing I/O since the last update of this field.Incremented as requests are given to appropriate struct request_queue and decremented as they finish.The device major number.The device minor number.The device name.The total number of reads completed successfully.Reads which are adjacent to each other merged for efficiency.The total number of milliseconds spent by all reads.The total number of sectors read successfully.The total number of writes completed successfully.Writes which are adjacent to each other merged for efficiency.The total number of milliseconds spent by all writes.The total number of sectors written successfully. -
Method Summary
Modifier and TypeMethodDescriptionstatic DiskStats.IoStat
Returns the enum constant of this type with the specified name.static DiskStats.IoStat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
MAJOR
The device major number. -
MINOR
The device minor number. -
NAME
The device name. -
READS
The total number of reads completed successfully. -
READS_MERGED
Reads which are adjacent to each other merged for efficiency. -
READS_SECTOR
The total number of sectors read successfully. -
READS_MS
The total number of milliseconds spent by all reads. -
WRITES
The total number of writes completed successfully. -
WRITES_MERGED
Writes which are adjacent to each other merged for efficiency. -
WRITES_SECTOR
The total number of sectors written successfully. -
WRITES_MS
The total number of milliseconds spent by all writes. -
IO_QUEUE_LENGTH
Incremented as requests are given to appropriate struct request_queue and decremented as they finish. -
IO_MS
The total number of milliseconds spent doing I/Os. -
IO_MS_WEIGHTED
Incremented at each I/O start, I/O completion, I/O merge, or read of these stats by the number of I/Os in progressIO_QUEUE_LENGTH
times the number of milliseconds spent doing I/O since the last update of this field. -
DISCARDS
The total number of discards completed successfully. -
DISCARDS_MERGED
Discards which are adjacent to each other merged for efficiency. -
DISCARDS_SECTOR
The total number of sectors discarded successfully. -
DISCARDS_MS
The total number of milliseconds spent by all discards. -
FLUSHES
The total number of flush requests completed successfully. -
FLUSHES_MS
The total number of milliseconds spent by all flush requests.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-