12.07.2015 Views

PDF (PDF) - SIOS Technology Corp. Documentation

PDF (PDF) - SIOS Technology Corp. Documentation

PDF (PDF) - SIOS Technology Corp. Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

収 集 した 詳 細 変 化 率 データの 解 析}return $time;}sub epoch { # params: datemy $date = shift;my $seconds = `date +'%s' --date "$date" 2>&1`;if ($?!= 0) {die "Failed to recognize time stamp:$date\n";}return $seconds;}使 用 法 :# ./roc-calc-diskstats [dev-list]使 用 例 ( 概 要 のみ) :# ./roc-calc-diskstats 2m “Jul 22 16:04:01” /root/diskstats.txtsdb1,sdb2,sdc1 > results.txtこの 例 は、 概 要 ( およびディスク 別 のピーク I/O 情 報 ) を results.txt にダンプします。使 用 例 ( 概 要 とグラフデータ) :# export OUTPUT_CSV=1# ./roc-calc-diskstats 2m “Jul 22 16:04:01” /root/diskstats.txtsdb1,sdb2,sdc1 2> results.csv > results.txtこの 例 は、グラフデータを results.csv に、 概 要 ( およびディスク 別 のピーク I/O 情 報 ) を results.txt にダンプします。結 果 の 例 ( results.txt)Sample start time:Tue Jul 12 23:44:01 2011Sample end time:Wed Jul 13 23:58:01 2011Sample interval:120s #Samples:727 Sample length:87240s(Raw times from file:Tue Jul 12 23:44:01 EST 2011, Wed Jul 13 23:58:01EST 2011)Rate of change for devices dm-31, dm-32, dm-33, dm-4, dm-5, totaldm-31 peak:0.0 B/s (0.0 b/s) (@ Tue Jul 12 23:44:01 2011) average:0.0 B/s(0.0 b/s)dm-32 peak:398.7 KB/s (3.1 Mb/s) (@ Wed Jul 13 19:28:01 2011)average:19.5 KB/s (156.2 Kb/s)SteelEye Protection Suite for Linux Technical <strong>Documentation</strong>Page 271

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!