ioprobe 0.1.1
ioprobe
Ioprobe offers observability of process’s I/O througput.
This Package requires /proc/[pid]/io, so doesn’t work in OSX and Windows.
Usage
$ ioprobe -h
usage: ioprobe [-h] [--json] pid
I/O probe for process.
positional arguments:
pid target process's pid.
optional arguments:
-h, --help show this help message and exit
--json change command's output to JSON.
Sample
$ sudo ioprobe [pid]
date rchar/s wchar/s syscr/s syscw/s read_bytes/s write_bytes/s cancelled_write_bytes/s
2015-02-28 00:11:36 0 0 0 0 0 0 0
2015-02-28 00:11:37 0 0 0 0 0 0 0
$ sudo ioprobe --json [pid]
{'write_bytes': 0, 'cancelled_write_bytes': 0, 'read_bytes': 0, 'date': '2015-02-28 00:12:15', 'syscr': 0, 'wchar': 0, 'rchar': 0, 'syscw': 0}
{'write_bytes': 0, 'cancelled_write_bytes': 0, 'read_bytes': 0, 'date': '2015-02-28 00:12:16', 'syscr': 0, 'wchar': 0, 'rchar': 0, 'syscw': 0}
Credits
Distribute
Buildout
modern-package-template
News
0.1
Create date: 2017-09-12
arrange package directory
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.