ojob.io/unix/parseIOStats

Usage

ojob ojob.io/unix/parseIOStats cmd="cat /proc/diskstats" interval=1000 dontShowFirst=true 

Description

Parses the content of /proc/diskstats of a Linux operating system into a list of values

Expects

Name Description
cmd Command to obtain the result of /proc/stat (defaults to "cat /proc/diskstats")
interval Interval of sampling of /proc/diskstats in ms
dontShowFirst Boolean to indicate that the first line should not be shown until a previous sample if collected to properly calculate the difference