From 4748cc27ce896c0c5392c86295cf555cbe529e36 Mon Sep 17 00:00:00 2001 From: Agniva De Sarker Date: Sat, 9 Jul 2016 21:43:36 +0530 Subject: [PATCH] iostat: Added some flags - Added basic command usage without any flags. - Removed the '-h' flag as it seems to be added implicitly by the cmd. - Added the interval parameter. - Added the '-m' flag. --- pages/linux/iostat.md | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/pages/linux/iostat.md b/pages/linux/iostat.md index 30ee864db..404ac1bcb 100644 --- a/pages/linux/iostat.md +++ b/pages/linux/iostat.md @@ -1,19 +1,23 @@ # iostat -> Report stats for devices and partitions. +> Report statistics for devices and partitions. -- Display disk statistics with disk IDs in human readable format: +- Display a report of CPU and disk statistics since system startup: -`iostat -h` - -- Display disk statistics with disk names (including LVM) in human readable format: - -`iostat -Nh` +`iostat` - Display CPU statistics: `iostat -c` -- Display extended disk statistics with disk names: +- Display disk statistics with disk names (including LVM): -`iostat -xN` +`iostat -N` + +- Display extended disk statistics with disk names for device "sda": + +`iostat -xN {{sda}}` + +- Display incremental reports of CPU and disk statistics every "interval" second(s) with units converted to megabytes: + +`iostat -m {{interval}}`