| ps_disk_io_counters {ps} | R Documentation |
System-wide disk I/O counters
Description
Returns a data.frame of system-wide disk I/O counters.
Usage
ps_disk_io_counters()
Details
Includes the following non-NA fields for all supported platforms:
-
read_count: number of reads -
write_count: number of writes -
read_bytes: number of bytes read -
write_bytes: number of bytes written
And for only some platforms:
-
read_time: time spent reading from disk (in milliseconds) -
write_time: time spent writing to disk (in milliseconds) -
busy_time: time spent doing actual I/Os (in milliseconds) -
read_merged_count: number of merged reads (see iostats doc) -
write_merged_count: number of merged writes (see iostats doc)
Value
A data frame of one row per disk of I/O stats, with columns
name, read_count read_merged_count read_bytes, read_time,
write_count, write_merged_count, write_bytes write_time, and
busy_time.
See Also
Other disk functions:
ps_disk_partitions(),
ps_disk_usage()
Examples
ps_disk_io_counters()