tools.utils
2025-05-04
Parent:1080c58bc4ee
tools.utils/mon/iostatf.sh
+ time/seconds
1 #!/bin/sh
2 # devel.a0fs.net -- ncc.mon.tools:/root/bin/iostatf.sh -- v0.r202312.1
7 exec iostat -xm 1 | awk '$1 ~ "(Device|sd.+)" {if ($1 == "Device") {print "\n\n----";}; print $0 }'
8 }
12 exec iostat -xm 1 | awk -v flt="$flt" '($1 == "Device") || ($1 ~ flt) {if ($1 == "Device") {print "\n\n----";}; print $0 }'
13 }
18 else
19 getstat
21 fi