More changes as per Baron's review.

Tries to implement a facsimile to http://www.xaprb.com/blog/2011/03/18/how-to-gather-statistics-at-regular-intervals/
For both sampling and rendering.
This commit is contained in:
Brian Fraser
2012-01-18 05:19:48 -03:00
parent 3a66cf5187
commit 5b43ed0d5e
11 changed files with 1263 additions and 69 deletions

View File

@@ -0,0 +1,21 @@
#ts device rd_mb_s rd_cnc rd_rt wr_mb_s wr_cnc wr_rt busy in_prg
{4} ram0 0.0 0.0 0.0 0.0 0.0 0.0 0% 0
{4} cciss/c0d0 0.0 0.0 0.0 0.5 0.0 0.6 0% 0
{4} cciss/c0d0p1 0.0 0.0 0.0 0.0 0.0 0.0 0% 0
{4} cciss/c0d0p2 0.0 0.0 0.0 0.5 0.0 0.6 0% 0
{4} cciss/c0d1 9.6 11.5 25.1 23.3 0.1 0.1 102% 0
{4} cciss/c1d0 0.0 0.0 0.0 0.0 0.0 0.0 0% 0
{4} dm-0 0.0 0.0 0.0 0.4 0.1 0.7 0% 0
{4} md0 0.0 0.0 0.0 0.0 0.0 0.0 0% 0
#ts device rd_mb_s rd_cnc rd_rt wr_mb_s wr_cnc wr_rt busy in_prg
{4} cciss/c0d0 0.0 0.0 0.0 0.5 0.0 0.6 0% 0
{4} cciss/c0d0p2 0.0 0.0 0.0 0.5 0.0 0.6 0% 0
{4} cciss/c0d1 9.6 11.5 25.1 23.3 0.1 0.1 102% 0
{4} dm-0 0.0 0.0 0.0 0.4 0.1 0.7 0% 0
Enter a disk/device pattern: cciss
#ts device rd_mb_s rd_cnc rd_rt wr_mb_s wr_cnc wr_rt busy in_prg
{4} cciss/c0d0 0.0 0.0 0.0 0.5 0.0 0.6 0% 0
{4} cciss/c0d0p1 0.0 0.0 0.0 0.0 0.0 0.0 0% 0
{4} cciss/c0d0p2 0.0 0.0 0.0 0.5 0.0 0.6 0% 0
{4} cciss/c0d1 9.6 11.5 25.1 23.3 0.1 0.1 102% 0
{4} cciss/c1d0 0.0 0.0 0.0 0.0 0.0 0.0 0% 0