From c2f7fbcf2358cf83b103954ec0dc579aea39e3cb Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Tue, 29 Mar 2011 02:21:53 +0200 Subject: dio: provide stats for all devices, rewritten by Joerg Old dio.lua was moved to contrib. New one is used like CPU widget is, request the device or parition in the format argument, {sda read_mb} as an example. New widget doesn't provide scheduler information, but I don't know anyone who used that. If you think this is wrong let me know. --- README | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'README') diff --git a/README b/README index ef7d666..8f3b877 100644 --- a/README +++ b/README @@ -166,12 +166,10 @@ vicious.widgets.fs {/ avail_mb}, {/ avail_gb}, {/ avail_p}, {/home size_mb} etc. vicious.widgets.dio - - provides I/O statistics for requested storage devices - - takes the disk as an argument, i.e. "sda" (or a specific - partition, i.e. "sda/sda2") - - returns a table with string keys: {total_s}, {total_kb}, {total_mb}, - {read_s}, {read_kb}, {read_mb}, {write_s}, {write_kb}, {write_mb} - and {sched} + - provides I/O statistics for all available storage devices + - returns a table with string keys: {sda total_s}, {sda total_kb}, + {sda total_mb}, {sda read_s}, {sda read_kb}, {sda read_mb}, + {sda write_s}, {sda write_kb}, {sda write_mb}, {sdb1 total_s} etc. vicious.widgets.raid - provides state information for a requested RAID array -- cgit v1.2.3