Testing Site Testing Site

skip to navigation
skip to content

ioprobe 0.1.0

Observation tool for I/O per process

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}

News

0.1

Create date: 2017-09-12

  • arrange package directory
 
File Type Py Version Uploaded on Size
ioprobe-0.1.0.tar.gz (md5) Source 2017-09-14 2KB