Clear MPD state on non-0 exit from MPD song sensor
[khatus.git] / bin / khatus_sensor_disk_io
CommitLineData
f37162a4
SK
1#! /bin/sh
2
3set -e
4
5disk_io_device="$1"
6
7awk '
8 {
9 r = $3
10 w = $7
11 print w, r
12 }
13 ' \
14 "/sys/block/$disk_io_device/stat"
This page took 0.023544 seconds and 4 git commands to generate.