Hi All!
I would like to monitor Disk(partition) I/O rate in Bytes/sec (not ops) so I can create a graph
I saw that linux 2.4+ doesn't support it by default
it can be achieved using a calculated field.
using these parameters:
UserParameter=custom.vfs.dev.read.sectors[*],awk '{print $$3}' /sys/class/block/$1/stat
UserParameter=custom.vfs.dev.write.sectors[*],awk '{print $$7}' /sys/class/block/$1/stat
How should I parse a calculated field that will take in considiration the delta and a sector size of 512B?
Thanks
Mosh
I would like to monitor Disk(partition) I/O rate in Bytes/sec (not ops) so I can create a graph
I saw that linux 2.4+ doesn't support it by default
it can be achieved using a calculated field.
using these parameters:
UserParameter=custom.vfs.dev.read.sectors[*],awk '{print $$3}' /sys/class/block/$1/stat
UserParameter=custom.vfs.dev.write.sectors[*],awk '{print $$7}' /sys/class/block/$1/stat
How should I parse a calculated field that will take in considiration the delta and a sector size of 512B?
Thanks
Mosh
Comment