home
/
code
/
khatus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix missing backtick
[khatus.git]
/
bin
/
khatus_sensor_disk_io
diff --git
a/bin/khatus_sensor_disk_io
b/bin/khatus_sensor_disk_io
index
379bcb3
..
840aed3
100755
(executable)
--- a/
bin/khatus_sensor_disk_io
+++ b/
bin/khatus_sensor_disk_io
@@
-2,13
+2,7
@@
set -e
-disk_io_device="$1"
+dir_bin="$1"
+disk_io_device="$2"
-awk '
- {
- r = $3
- w = $7
- print w, r
- }
- ' \
- "/sys/block/$disk_io_device/stat"
+"$dir_bin"/khatus_parse_sys_block_stat "/sys/block/$disk_io_device/stat"
This page took
0.021619 seconds
and
4
git commands to generate.