:
Get system IO and Swap, using vmstat return and adding Input+Output pages on the last 2 secs.
Module data
module_begin
module_name IO_Swap
module_type generic_data
module_exec vmstat 1 2 | tail -1 | awk '{ print $7 + $8 }'
module_description SWAP Pages in and Out
module_end
module_begin
module_name IO_ReadWrite
module_type generic_data
module_exec vmstat 1 2 | tail -1 | awk '{ print $9 + $10 }'
module_description IO Blocks in and Out
module_end
(Visited 237 times, 1 visits today)


