summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2016-03-01 15:34:00 +0100
committerGiampaolo Rodola <g.rodola@gmail.com>2016-03-01 15:34:00 +0100
commit170680a8e50d2af1f031499ebb55b0ce7c223c31 (patch)
tree66d5e488398cf666b5fc79bc5998cc41dae2fe3f
parent6ae5f36d43027787b513a69f45408c248c0154ed (diff)
downloadpsutil-170680a8e50d2af1f031499ebb55b0ce7c223c31.tar.gz
update doc
-rw-r--r--docs/index.rst18
1 files changed, 12 insertions, 6 deletions
diff --git a/docs/index.rst b/docs/index.rst
index b6cf4d91..91067d67 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -266,16 +266,22 @@ Disks
.. function:: disk_io_counters(perdisk=False)
Return system-wide disk I/O statistics as a namedtuple including the
- following fields.
+ following fields:
+
- **read_count**: number of reads
- **write_count**: number of writes
- **read_bytes**: number of bytes read
- **write_bytes**: number of bytes written
- - **read_time**: (all except NetBSD and OpenBSD) time spent reading from disk (in milliseconds)
- - **write_time**: (all except NetBSD and OpenBSD) time spent writing to disk (in milliseconds)
- - **busy_time**: (Linux, FreeBSD) time spent doing actual I/Os (in milliseconds)
- - **read_merged_count** (Linux): number of merged reads (see `iostat doc <https://www.kernel.org/doc/Documentation/iostats.txt>`__)
- - **write_merged_count** (Linux): number of merged writes (see `iostats doc <https://www.kernel.org/doc/Documentation/iostats.txt>`__)
+ - **read_time**: (all except NetBSD and OpenBSD) time spent reading from
+ disk (in milliseconds)
+ - **write_time**: (all except NetBSD and OpenBSD) time spent writing to disk
+ (in milliseconds)
+ - **busy_time**: (Linux, FreeBSD) time spent doing actual I/Os (in
+ milliseconds)
+ - **read_merged_count** (Linux): number of merged reads
+ (see `iostat doc <https://www.kernel.org/doc/Documentation/iostats.txt>`__)
+ - **write_merged_count** (Linux): number of merged writes
+ (see `iostats doc <https://www.kernel.org/doc/Documentation/iostats.txt>`__)
If *perdisk* is ``True`` return the same information for every physical disk
installed on the system as a dictionary with partition names as the keys and