Package oshi.driver.linux.proc
Enum DiskStats.IoStat
java.lang.Object
java.lang.Enum<DiskStats.IoStat>
oshi.driver.linux.proc.DiskStats.IoStat
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DiskStats.IoStat>
,java.lang.constant.Constable
- Enclosing class:
- DiskStats
public static enum DiskStats.IoStat extends java.lang.Enum<DiskStats.IoStat>
Enum corresponding to the fields in the output of
/proc/diskstats
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description DISCARDS
The total number of discards completed successfully.DISCARDS_MERGED
Discards which are adjacent to each other merged for efficiency.DISCARDS_MS
The total number of milliseconds spent by all discards.DISCARDS_SECTOR
The total number of sectors discarded successfully.FLUSHES
The total number of flush requests completed successfully.FLUSHES_MS
The total number of milliseconds spent by all flush requests.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.IO_QUEUE_LENGTH
Incremented as requests are given to appropriate struct request_queue and decremented as they finish.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_MS
The total number of milliseconds spent by all reads.READS_SECTOR
The total number of sectors read successfully.WRITES
The total number of writes completed successfully.WRITES_MERGED
Writes which are adjacent to each other merged for efficiency.WRITES_MS
The total number of milliseconds spent by all writes.WRITES_SECTOR
The total number of sectors written successfully. -
Method Summary
Modifier and Type Method Description static DiskStats.IoStat
valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-