Ioprobe enable to watching process's io speed.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.circleci
src/ioprobe
.gitignore
.hgignore
HACKING.txt
MANIFEST.in
NEWS.txt
README.rst
buildout.cfg
requirements.txt
setup.py
tox.ini

README.rst

ioprobe

https://circleci.com/gh/masu-mi/ioprobe/tree/master.svg?style=svg

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