Skip to content
This repository has been archived by the owner on Feb 3, 2022. It is now read-only.

masu-mi/ioprobe

Repository files navigation

ioprobe

image

image

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

About

Ioprobe enable to watching process's io speed.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages