[Orca-dev] more details about disks
Christophe Kalt
kalt at taranis.org
Mon Aug 16 08:08:12 PDT 2004
Hi all,
The following trivial diff allows getting detailed stats about
each individual disks rather than only total numbers.
Christophe
-------------- next part --------------
--- orcallator.se 2004-08-16 11:02:01.218767716 -0400
+++ orcallator.new 2004-08-16 11:06:59.381313860 -0400
@@ -1609,6 +1609,18 @@
total_tape_writek += RAW_disk[i].kwrites;
put_output(sprintf("tape_runp_%s", RAW_disk[i].long_name),
sprintf("%16.5f", RAW_disk[i].run_percent));
+
+ put_output(sprintf("tape_rd_%s/s", RAW_disk[i].long_name),
+ sprintf("%16.5f", RAW_disk[i].reads));
+
+ put_output(sprintf("tape_wr_%s/s", RAW_disk[i].long_name),
+ sprintf("%16.5f", RAW_disk[i].writes));
+
+ put_output(sprintf("tape_rK_%s/s", RAW_disk[i].long_name),
+ sprintf("%16.5f", RAW_disk[i].kreads));
+
+ put_output(sprintf("tape_wK_%s/s", RAW_disk[i].long_name),
+ sprintf("%16.5f", RAW_disk[i].kwrites));
continue;
}
// Block the listing of floppy drives for now.
@@ -1622,6 +1634,18 @@
put_output(sprintf("disk_svct_%s", RAW_disk[i].long_name),
sprintf("%16.5f", RAW_disk[i].service));
+ put_output(sprintf("disk_rd_%s/s", RAW_disk[i].long_name),
+ sprintf("%16.5f", RAW_disk[i].reads));
+
+ put_output(sprintf("disk_wr_%s/s", RAW_disk[i].long_name),
+ sprintf("%16.5f", RAW_disk[i].writes));
+
+ put_output(sprintf("disk_rK_%s/s", RAW_disk[i].long_name),
+ sprintf("%16.5f", RAW_disk[i].kreads));
+
+ put_output(sprintf("disk_wK_%s/s", RAW_disk[i].long_name),
+ sprintf("%16.5f", RAW_disk[i].kwrites));
+
// Comments from Damon Atkins <Damon.Atkins at nabaus.com.au>. Check
// [wr]lentime to see if an EMC is using a fake disk for control.
// EMC disks have a fake disk which commands are run over to
@@ -1658,6 +1682,18 @@
put_output(sprintf("disk_svct_%s", GLOBAL_disk[i].info.long_name),
sprintf("%16.5f", GLOBAL_disk[i].service));
+ put_output(sprintf("disk_rd_%s/s", GLOBAL_disk[i].info.long_name),
+ sprintf("%16.5f", GLOBAL_disk[i].reads));
+
+ put_output(sprintf("disk_wr_%s/s", GLOBAL_disk[i].info.long_name),
+ sprintf("%16.5f", GLOBAL_disk[i].writes));
+
+ put_output(sprintf("disk_rK_%s/s", GLOBAL_disk[i].info.long_name),
+ sprintf("%16.5f", GLOBAL_disk[i].kreads));
+
+ put_output(sprintf("disk_wK_%s/s", GLOBAL_disk[i].info.long_name),
+ sprintf("%16.5f", GLOBAL_disk[i].kwrites));
+
// Comments from Damon Atkins <Damon.Atkins at nabaus.com.au>. Check
// [wr]lentime to see if an EMC is using a fake disk for control.
// EMC disks have a fake disk which commands are run over to
More information about the Orca-dev
mailing list