From 5b43ed0d5ea334233d7ea02a1a34d1021d70eb2c Mon Sep 17 00:00:00 2001 From: Brian Fraser Date: Wed, 18 Jan 2012 05:19:48 -0300 Subject: [PATCH] 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. --- bin/pt-diskstats | 69 +-- lib/DiskstatsMenu.pm | 68 ++- t/pt-diskstats/expected/all_int_commands.txt | 75 +++ .../expected/all_int_switch_to_sample.txt | 463 +++++++++++++++++ t/pt-diskstats/expected/disk_int_commands.txt | 21 + .../expected/disk_int_switch_to_sample.txt | 47 ++ .../expected/sample_int_commands.txt | 16 + .../expected/sample_int_switch_to_sample.txt | 15 + t/pt-diskstats/pt-diskstats.t | 33 +- t/pt-diskstats/samples/commands.txt | 45 ++ t/pt-diskstats/samples/switch_to_sample.txt | 480 ++++++++++++++++++ 11 files changed, 1263 insertions(+), 69 deletions(-) create mode 100644 t/pt-diskstats/expected/all_int_commands.txt create mode 100644 t/pt-diskstats/expected/all_int_switch_to_sample.txt create mode 100644 t/pt-diskstats/expected/disk_int_commands.txt create mode 100644 t/pt-diskstats/expected/disk_int_switch_to_sample.txt create mode 100644 t/pt-diskstats/expected/sample_int_commands.txt create mode 100644 t/pt-diskstats/expected/sample_int_switch_to_sample.txt create mode 100644 t/pt-diskstats/samples/commands.txt create mode 100644 t/pt-diskstats/samples/switch_to_sample.txt diff --git a/bin/pt-diskstats b/bin/pt-diskstats index 24475ef9..54d14d04 100755 --- a/bin/pt-diskstats +++ b/bin/pt-diskstats @@ -2813,10 +2813,11 @@ use warnings FATAL => 'all'; use English qw(-no_match_vars); use constant PTDEBUG => $ENV{PTDEBUG} || 0; -use POSIX qw( :sys_wait_h ); +use POSIX qw( fmod :sys_wait_h ); use IO::Handle; use IO::Select; +use Time::HiRes qw( gettimeofday ); use Scalar::Util qw( looks_like_number blessed ); use ReadKeyMini qw( ReadMode ); @@ -2831,8 +2832,8 @@ my %actions = ( 'D' => \&group_by, 'S' => \&group_by, 'i' => \&hide_inactive_disks, - 'd' => get_new_value_for( "redisplay_interval", - "Enter a new redisplay interval in seconds: " ), + 'd' => get_new_value_for( "refresh_interval", + "Enter a new refresh interval in seconds: " ), 'z' => get_new_value_for( "sample_time", "Enter a new interval between samples in seconds: " ), 'c' => get_new_regex_for( "columns_regex", @@ -2892,7 +2893,6 @@ sub run_interactive { gather_samples( gather_while => sub { getppid() }, samples_to_gather => $o->get('iterations'), - sampling_interval => $o->get('interval'), filename => $filename, ); @@ -2939,8 +2939,11 @@ sub run_interactive { my $run = 1; MAIN_LOOP: while ($run) { - my $redisplay_interval = $o->get('redisplay-interval'); - if ( my $input = read_command_timeout($sel, $redisplay_interval ) ) { + my $refresh_interval = $o->get('refresh-interval'); + my $time = scalar Time::HiRes::gettimeofday(); + my $sleep = $refresh_interval - fmod( $time, ($refresh_interval + 0.5) ); + + if ( my $input = read_command_timeout($sel, $sleep ) ) { if ($actions{$input}) { my $ret = $actions{$input}->( select_obj => $sel, @@ -2949,6 +2952,20 @@ sub run_interactive { filehandle => $tmp_fh, ) || ''; last MAIN_LOOP if $ret eq 'last'; + + if ( $args{filename} + && !grep { $input eq $_ } qw( A S D ), ' ', "\n" ) + { + my $obj = $o->get("current_group_by_obj"); + local $obj->{_print_header} = 1; + $obj->clear_state(); + group_by( + select_obj => $sel, + OptionParser => $o, + input => substr(ref($obj), 16, 1), + filehandle => $tmp_fh, + ); + } } } $o->get("current_group_by_obj") @@ -2995,7 +3012,9 @@ sub gather_samples { GATHER_DATA: while ( $args{gather_while}->() ) { - if ( read_command_timeout( $sel, $args{sampling_interval} ) ) { + my $time = scalar Time::HiRes::gettimeofday(); + my $sleep = 1 - fmod( $time, 1 ); + if ( read_command_timeout( $sel, $sleep ) ) { last GATHER_DATA; } open my $diskstats_fh, "<", "/proc/diskstats" @@ -3081,7 +3100,7 @@ sub help { my $column_re = $args{OptionParser}->get('columns-regex'); my $device_re = $args{OptionParser}->get('devices-regex'); my $interval = $obj->sample_time() || '(none)'; - my $disp_int = $args{OptionParser}->get('redisplay-interval'); + my $disp_int = $args{OptionParser}->get('refresh-interval'); my $inact_disk = $obj->show_inactive() ? 'no' : 'yes'; for my $re ( $column_re, $device_re ) { @@ -3096,7 +3115,7 @@ sub help { /) Enter a Perl regex to match disk names $device_re z) Set the sample size in seconds $interval i) Hide inactive disks $inact_disk - d) Set the redisplay interval in seconds $disp_int + d) Set the refresh interval in seconds $disp_int p) Pause the program q) Quit the program ------------------- Press any key to continue ----------------------- @@ -3115,6 +3134,7 @@ sub file_to_use { } if ( $filename ) { + unlink $filename; open my $fh, "+>", $filename or die "Cannot open $filename: $OS_ERROR"; return $fh, $filename; @@ -3157,8 +3177,8 @@ sub hide_inactive_disks { my $obj = $args{OptionParser}->get("current_group_by_obj"); my $new_val = !$obj->show_inactive(); - $args{OptionParser}->set('show-inactive', !$new_val); - $obj->set_show_inactive(!$new_val); + $args{OptionParser}->set('show-inactive', $new_val); + $obj->set_show_inactive($new_val); return; } @@ -3172,7 +3192,8 @@ sub get_new_value_for { my $new_interval = get_blocking_input($message) || 0; die "Invalid timeout: $new_interval" - unless looks_like_number($new_interval); + unless looks_like_number($new_interval) + && ($new_interval = int($new_interval)); my $obj = $o->get("current_group_by_obj"); if ( my $setter = $obj->can("set_$looking_for") ) { @@ -3227,20 +3248,10 @@ sub pause { return; } -my $got_highres = eval { require Time::HiRes }; -PTDEBUG && _d('Timestamp', $got_highres - ? "Using the pure Perl version" - : "Using the system's date command" ); - sub timestamp { - if ( $got_highres ) { - my ( $seconds, $microseconds ) = Time::HiRes::gettimeofday(); - return sprintf( "TS %d.%d %s\n", $seconds, - $microseconds*1000, Transformers::ts($seconds) ); - } - else { - return `date +'TS %s.%N %F %T'`; - } + my ( $seconds, $microseconds ) = Time::HiRes::gettimeofday(); + return sprintf( "TS %d.%d %s\n", $seconds, + $microseconds*1000, Transformers::ts($seconds) ); } sub _d { @@ -3532,18 +3543,12 @@ type: int When in interactive mode, stop after N samples. -=item --redisplay-interval +=item --refresh-interval type: int; default: 1 When in interactive mode, wait N seconds before printing to the screen. -=item --interval - -type: int; default: 1 - -Sample /proc/diskstats every N seconds. - =item --show-inactive Show inactive devices. diff --git a/lib/DiskstatsMenu.pm b/lib/DiskstatsMenu.pm index 7fa83af6..e14466ba 100644 --- a/lib/DiskstatsMenu.pm +++ b/lib/DiskstatsMenu.pm @@ -27,10 +27,11 @@ use warnings FATAL => 'all'; use English qw(-no_match_vars); use constant PTDEBUG => $ENV{PTDEBUG} || 0; -use POSIX qw( :sys_wait_h ); +use POSIX qw( fmod :sys_wait_h ); use IO::Handle; use IO::Select; +use Time::HiRes qw( gettimeofday ); use Scalar::Util qw( looks_like_number blessed ); use ReadKeyMini qw( ReadMode ); @@ -45,8 +46,8 @@ my %actions = ( 'D' => \&group_by, 'S' => \&group_by, 'i' => \&hide_inactive_disks, - 'd' => get_new_value_for( "redisplay_interval", - "Enter a new redisplay interval in seconds: " ), + 'd' => get_new_value_for( "refresh_interval", + "Enter a new refresh interval in seconds: " ), 'z' => get_new_value_for( "sample_time", "Enter a new interval between samples in seconds: " ), 'c' => get_new_regex_for( "columns_regex", @@ -115,7 +116,6 @@ sub run_interactive { gather_samples( gather_while => sub { getppid() }, samples_to_gather => $o->get('iterations'), - sampling_interval => $o->get('interval'), filename => $filename, ); @@ -167,8 +167,11 @@ sub run_interactive { my $run = 1; MAIN_LOOP: while ($run) { - my $redisplay_interval = $o->get('redisplay-interval'); - if ( my $input = read_command_timeout($sel, $redisplay_interval ) ) { + my $refresh_interval = $o->get('refresh-interval'); + my $time = scalar Time::HiRes::gettimeofday(); + my $sleep = $refresh_interval - fmod( $time, ($refresh_interval + 0.5) ); + + if ( my $input = read_command_timeout($sel, $sleep ) ) { if ($actions{$input}) { my $ret = $actions{$input}->( select_obj => $sel, @@ -177,6 +180,24 @@ sub run_interactive { filehandle => $tmp_fh, ) || ''; last MAIN_LOOP if $ret eq 'last'; + + # If we were passed a filename, render everything again after + # a change of options, so long as those options aren't + # A, S, D, , or . + if ( $args{filename} + && !grep { $input eq $_ } qw( A S D ), ' ', "\n" ) + { + my $obj = $o->get("current_group_by_obj"); + # Force it to print the header + $obj->clear_state(); + local $obj->{_print_header} = 1; + group_by( + select_obj => $sel, + OptionParser => $o, + input => substr(ref($obj), 16, 1), + filehandle => $tmp_fh, + ); + } } } # As a possible source of confusion, note that this calls the group_by @@ -234,7 +255,9 @@ sub gather_samples { GATHER_DATA: while ( $args{gather_while}->() ) { - if ( read_command_timeout( $sel, $args{sampling_interval} ) ) { + my $time = scalar Time::HiRes::gettimeofday(); + my $sleep = 1 - fmod( $time, 1 ); + if ( read_command_timeout( $sel, $sleep ) ) { last GATHER_DATA; } open my $diskstats_fh, "<", "/proc/diskstats" @@ -329,7 +352,7 @@ sub help { my $column_re = $args{OptionParser}->get('columns-regex'); my $device_re = $args{OptionParser}->get('devices-regex'); my $interval = $obj->sample_time() || '(none)'; - my $disp_int = $args{OptionParser}->get('redisplay-interval'); + my $disp_int = $args{OptionParser}->get('refresh-interval'); my $inact_disk = $obj->show_inactive() ? 'no' : 'yes'; for my $re ( $column_re, $device_re ) { @@ -344,7 +367,7 @@ sub help { /) Enter a Perl regex to match disk names $device_re z) Set the sample size in seconds $interval i) Hide inactive disks $inact_disk - d) Set the redisplay interval in seconds $disp_int + d) Set the refresh interval in seconds $disp_int p) Pause the program q) Quit the program ------------------- Press any key to continue ----------------------- @@ -363,6 +386,7 @@ sub file_to_use { } if ( $filename ) { + unlink $filename; open my $fh, "+>", $filename or die "Cannot open $filename: $OS_ERROR"; return $fh, $filename; @@ -405,8 +429,8 @@ sub hide_inactive_disks { my $obj = $args{OptionParser}->get("current_group_by_obj"); my $new_val = !$obj->show_inactive(); - $args{OptionParser}->set('show-inactive', !$new_val); - $obj->set_show_inactive(!$new_val); + $args{OptionParser}->set('show-inactive', $new_val); + $obj->set_show_inactive($new_val); return; } @@ -420,7 +444,8 @@ sub get_new_value_for { my $new_interval = get_blocking_input($message) || 0; die "Invalid timeout: $new_interval" - unless looks_like_number($new_interval); + unless looks_like_number($new_interval) + && ($new_interval = int($new_interval)); my $obj = $o->get("current_group_by_obj"); if ( my $setter = $obj->can("set_$looking_for") ) { @@ -481,22 +506,11 @@ sub pause { return; } -my $got_highres = eval { require Time::HiRes }; -PTDEBUG && _d('Timestamp', $got_highres - ? "Using the pure Perl version" - : "Using the system's date command" ); - sub timestamp { - if ( $got_highres ) { - # Can do everything in Perl - # TS timestamp.nanoseconds ISO8601-timestamp - my ( $seconds, $microseconds ) = Time::HiRes::gettimeofday(); - return sprintf( "TS %d.%d %s\n", $seconds, - $microseconds*1000, Transformers::ts($seconds) ); - } - else { - return `date +'TS %s.%N %F %T'`; - } + # TS timestamp.nanoseconds ISO8601-timestamp + my ( $seconds, $microseconds ) = Time::HiRes::gettimeofday(); + return sprintf( "TS %d.%d %s\n", $seconds, + $microseconds*1000, Transformers::ts($seconds) ); } sub _d { diff --git a/t/pt-diskstats/expected/all_int_commands.txt b/t/pt-diskstats/expected/all_int_commands.txt new file mode 100644 index 00000000..e6752572 --- /dev/null +++ b/t/pt-diskstats/expected/all_int_commands.txt @@ -0,0 +1,75 @@ + #ts device rd_mb_s rd_cnc rd_rt wr_mb_s wr_cnc wr_rt busy in_prg + 2.0 ram0 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 2.0 cciss/c0d0 0.0 0.0 0.0 0.6 0.0 0.9 0% 0 + 2.0 cciss/c0d0p1 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 2.0 cciss/c0d0p2 0.0 0.0 0.0 0.6 0.0 0.9 0% 0 + 2.0 cciss/c0d1 10.2 11.2 23.9 22.8 0.1 0.1 92% 18 + 2.0 cciss/c1d0 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 2.0 dm-0 0.0 0.0 0.0 0.6 0.1 0.8 0% 0 + 2.0 md0 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + #ts device rd_mb_s rd_cnc rd_rt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 cciss/c1d0 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 7.0 dm-0 0.0 0.0 0.0 0.8 0.1 0.6 0% 0 + 7.0 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 + 2.0 cciss/c0d0 0.0 0.0 0.0 0.6 0.0 0.9 0% 0 + 2.0 cciss/c0d0p2 0.0 0.0 0.0 0.6 0.0 0.9 0% 0 + 2.0 cciss/c0d1 10.2 11.2 23.9 22.8 0.1 0.1 92% 18 + 2.0 dm-0 0.0 0.0 0.0 0.6 0.1 0.8 0% 0 + 4.0 cciss/c0d0 0.0 0.0 0.0 0.3 0.0 0.4 0% 0 + 4.0 cciss/c0d0p2 0.0 0.0 0.0 0.3 0.0 0.4 0% 0 + 4.0 cciss/c0d1 8.6 10.2 27.4 12.6 0.1 0.1 91% 17 + 4.0 dm-0 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 5.0 cciss/c0d0 0.0 0.0 0.0 0.1 0.0 0.0 0% 0 + 5.0 cciss/c0d0p2 0.0 0.0 0.0 0.1 0.0 0.0 0% 0 + 5.0 cciss/c0d1 17.7 21.6 25.5 48.0 0.2 0.1 178% 9 + 5.0 dm-0 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 7.0 cciss/c0d0 0.0 0.0 0.0 0.8 0.0 0.5 0% 0 + 7.0 cciss/c0d0p2 0.0 0.0 0.0 0.8 0.0 0.5 0% 0 + 7.0 cciss/c0d1 6.1 8.1 23.8 22.0 0.1 0.1 86% 5 + 7.0 dm-0 0.0 0.0 0.0 0.8 0.1 0.6 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 + 2.0 cciss/c0d0 0.0 0.0 0.0 0.6 0.0 0.9 0% 0 + 2.0 cciss/c0d0p1 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 2.0 cciss/c0d0p2 0.0 0.0 0.0 0.6 0.0 0.9 0% 0 + 2.0 cciss/c0d1 10.2 11.2 23.9 22.8 0.1 0.1 92% 18 + 2.0 cciss/c1d0 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 4.0 cciss/c0d0 0.0 0.0 0.0 0.3 0.0 0.4 0% 0 + 4.0 cciss/c0d0p1 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 4.0 cciss/c0d0p2 0.0 0.0 0.0 0.3 0.0 0.4 0% 0 + 4.0 cciss/c0d1 8.6 10.2 27.4 12.6 0.1 0.1 91% 17 + 4.0 cciss/c1d0 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 5.0 cciss/c0d0 0.0 0.0 0.0 0.1 0.0 0.0 0% 0 + 5.0 cciss/c0d0p1 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 5.0 cciss/c0d0p2 0.0 0.0 0.0 0.1 0.0 0.0 0% 0 + 5.0 cciss/c0d1 17.7 21.6 25.5 48.0 0.2 0.1 178% 9 + 5.0 cciss/c1d0 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 7.0 cciss/c0d0 0.0 0.0 0.0 0.8 0.0 0.5 0% 0 + 7.0 cciss/c0d0p1 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 7.0 cciss/c0d0p2 0.0 0.0 0.0 0.8 0.0 0.5 0% 0 + 7.0 cciss/c0d1 6.1 8.1 23.8 22.0 0.1 0.1 86% 5 + 7.0 cciss/c1d0 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 diff --git a/t/pt-diskstats/expected/all_int_switch_to_sample.txt b/t/pt-diskstats/expected/all_int_switch_to_sample.txt new file mode 100644 index 00000000..763bb7f4 --- /dev/null +++ b/t/pt-diskstats/expected/all_int_switch_to_sample.txt @@ -0,0 +1,463 @@ + #ts device rd_mb_s rd_cnc rd_rt wr_mb_s wr_cnc wr_rt busy in_prg + 1.0 ram0 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 1.0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 0% 0 + 14.0 sdb 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 14.0 sdb1 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 + 1.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 2.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 3.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 4.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 5.0 {31} 0.0 0.0 0.0 0.1 0.0 0.0 0% 0 + 6.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 7.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 8.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 9.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 10.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 11.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 12.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 13.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 14.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 diff --git a/t/pt-diskstats/expected/disk_int_commands.txt b/t/pt-diskstats/expected/disk_int_commands.txt new file mode 100644 index 00000000..0ab108bb --- /dev/null +++ b/t/pt-diskstats/expected/disk_int_commands.txt @@ -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 diff --git a/t/pt-diskstats/expected/disk_int_switch_to_sample.txt b/t/pt-diskstats/expected/disk_int_switch_to_sample.txt new file mode 100644 index 00000000..6ef05da4 --- /dev/null +++ b/t/pt-diskstats/expected/disk_int_switch_to_sample.txt @@ -0,0 +1,47 @@ + #ts device rd_mb_s rd_cnc rd_rt wr_mb_s wr_cnc wr_rt busy in_prg + {14} ram0 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + {14} ram1 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + {14} ram2 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + {14} ram3 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + {14} ram4 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + {14} ram5 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + {14} ram6 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + {14} ram7 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + {14} ram8 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + {14} ram9 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + {14} ram10 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + {14} ram11 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + {14} ram12 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + {14} ram13 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + {14} ram14 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + {14} ram15 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + {14} loop0 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + {14} loop1 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + {14} loop2 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + {14} loop3 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + {14} loop4 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + {14} loop5 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + {14} loop6 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + {14} loop7 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + {14} sda 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + {14} sda1 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + {14} sda2 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + {14} sda3 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + {14} sda4 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + {14} sdb 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + {14} sdb1 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 + 1.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 2.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 3.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 4.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 5.0 {31} 0.0 0.0 0.0 0.1 0.0 0.0 0% 0 + 6.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 7.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 8.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 9.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 10.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 11.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 12.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 13.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 14.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 diff --git a/t/pt-diskstats/expected/sample_int_commands.txt b/t/pt-diskstats/expected/sample_int_commands.txt new file mode 100644 index 00000000..175a86b8 --- /dev/null +++ b/t/pt-diskstats/expected/sample_int_commands.txt @@ -0,0 +1,16 @@ + #ts device rd_mb_s rd_cnc rd_rt wr_mb_s wr_cnc wr_rt busy in_prg + 2.0 {8} 10.2 1.4 23.9 24.6 0.0 0.2 12% 18 + 4.0 {8} 8.6 1.3 27.4 13.2 0.0 0.1 11% 17 + 5.0 {8} 17.7 2.7 25.5 48.3 0.0 0.1 22% 9 + 7.0 {8} 6.1 1.0 23.8 24.3 0.0 0.2 11% 5 + #ts device rd_mb_s rd_cnc rd_rt wr_mb_s wr_cnc wr_rt busy in_prg + 2.0 {4} 10.2 2.8 23.9 24.6 0.1 0.2 23% 18 + 4.0 {4} 8.6 2.6 27.4 13.2 0.0 0.1 23% 17 + 5.0 {4} 17.7 5.4 25.5 48.3 0.1 0.1 44% 9 + 7.0 {4} 6.1 2.0 23.8 24.3 0.1 0.2 22% 5 +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 + 2.0 {5} 10.2 2.2 23.9 24.0 0.0 0.2 18% 18 + 4.0 {5} 8.6 2.0 27.4 13.2 0.0 0.1 18% 17 + 5.0 {5} 17.7 4.3 25.5 48.3 0.0 0.1 36% 9 + 7.0 {5} 6.1 1.6 23.8 23.6 0.0 0.1 17% 5 diff --git a/t/pt-diskstats/expected/sample_int_switch_to_sample.txt b/t/pt-diskstats/expected/sample_int_switch_to_sample.txt new file mode 100644 index 00000000..8d61f0cf --- /dev/null +++ b/t/pt-diskstats/expected/sample_int_switch_to_sample.txt @@ -0,0 +1,15 @@ + #ts device rd_mb_s rd_cnc rd_rt wr_mb_s wr_cnc wr_rt busy in_prg + 1.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 2.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 3.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 4.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 5.0 {31} 0.0 0.0 0.0 0.1 0.0 0.0 0% 0 + 6.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 7.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 8.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 9.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 10.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 11.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 12.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 13.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 + 14.0 {31} 0.0 0.0 0.0 0.0 0.0 0.0 0% 0 diff --git a/t/pt-diskstats/pt-diskstats.t b/t/pt-diskstats/pt-diskstats.t index d33bbc4f..1e10f20a 100644 --- a/t/pt-diskstats/pt-diskstats.t +++ b/t/pt-diskstats/pt-diskstats.t @@ -9,7 +9,7 @@ BEGIN { use strict; use warnings FATAL => 'all'; use English qw(-no_match_vars); -use Test::More tests => 19; +use Test::More tests => 22; use File::Temp (); @@ -23,32 +23,39 @@ require "$trunk/bin/pt-diskstats"; # All we do is send 'q', the command to quit. See the note in the bottom # of this file about *DATA. Please don't close it. { -sub Test::TIEHANDLE { +sub TestInteractive::TIEHANDLE { my ($class, @cmds) = @_; push @cmds, "q"; return bless \@cmds, $class; } -sub Test::FILENO { +sub TestInteractive::FILENO { return fileno(*DATA); } -sub Test::READLINE { +sub TestInteractive::READLINE { my ($self) = @_; - return shift @$self; + my $cmd = shift @$self; + print $cmd if $cmd =~ /\n/; + return $cmd; } } sub test_diskstats_file { - my (%args) = @_; - my $file = "$trunk/t/pt-diskstats/samples/$args{file}"; - my @commands = @{ $args{commands} || [qw( q )] }; + my (%args) = @_; + my $file = "$trunk/t/pt-diskstats/samples/$args{file}"; + my @commands = @{ $args{commands} || [qw( q )] }; + my $print_cmds = join "][", + map { + ( my $x = $_ ) =~ s/\n/\\n/g; + $x + } @commands; die "$file does not exist" unless -f $file; foreach my $groupby ( qw(all disk sample) ) { ok( no_diff( sub { - tie local *STDIN, Test => @commands; + tie local *STDIN, TestInteractive => @commands; pt_diskstats::main( qw(--show-inactive --group-by), $groupby, '--columns-regex','cnc|rt|mb|busy|prg', @@ -57,11 +64,12 @@ sub test_diskstats_file { "t/pt-diskstats/expected/${groupby}_int_$args{file}", keep_output=>1, ), - "$args{file} --group-by $groupby" + "$args{file} --group-by $groupby, commands: [$print_cmds]" ); } } + foreach my $file ( map "diskstats-00$_.txt", 1..5 ) { test_diskstats_file(file => $file); } @@ -71,6 +79,11 @@ test_diskstats_file( commands => [ qw( S q ) ] ); +test_diskstats_file( + file => "commands.txt", + commands => [ "i", "/", "cciss\n", "q" ] +); + # ########################################################################### # --save-samples and --iterations # ########################################################################### diff --git a/t/pt-diskstats/samples/commands.txt b/t/pt-diskstats/samples/commands.txt new file mode 100644 index 00000000..a15532e4 --- /dev/null +++ b/t/pt-diskstats/samples/commands.txt @@ -0,0 +1,45 @@ +TS 1281367519 +1 0 ram0 0 0 0 0 0 0 0 0 0 0 0 +104 0 cciss/c0d0 2139885 162788 37361471 8034486 17999682 83425310 811400340 12711047 0 6869437 20744582 +104 1 cciss/c0d0p1 1421 3292 10354 3681 351 270 1244 796 0 4271 4477 +104 2 cciss/c0d0p2 2138455 159477 37350893 8030772 17999331 83425040 811399096 12710251 0 6866885 20740511 +104 16 cciss/c0d1 1172444169 44249324 49905804480 3910112166 3461426338 29008876 138140456491 445486927 19 164987623 60581634 +105 0 cciss/c1d0 73924 269836 2753177 412500 2420473 19748 321780475 6652131 0 514459 7064611 +253 0 dm-0 257136 0 3846266 2153516 5512224 0 44097792 3486922 0 1438723 5640971 +9 0 md0 0 0 0 0 0 0 0 0 0 0 0 +TS 1281367521 +1 0 ram0 0 0 0 0 0 0 0 0 0 0 0 +104 0 cciss/c0d0 2139885 162788 37361471 8034486 17999728 83425570 811402788 12711087 0 6869439 20744622 +104 1 cciss/c0d0p1 1421 3292 10354 3681 351 270 1244 796 0 4271 4477 +104 2 cciss/c0d0p2 2138455 159477 37350893 8030772 17999377 83425300 811401544 12710291 0 6866887 20740551 +104 16 cciss/c0d1 1172445102 44249324 49905846120 3910134507 3461428308 29008877 138140550075 445487158 18 164989469 60604229 +105 0 cciss/c1d0 73924 269836 2753177 412500 2420473 19748 321780475 6652131 0 514459 7064611 +253 0 dm-0 257136 0 3846266 2153516 5512530 0 44100240 3487167 0 1438725 5641216 +9 0 md0 0 0 0 0 0 0 0 0 0 0 0 +TS 1281367523 +1 0 ram0 0 0 0 0 0 0 0 0 0 0 0 +104 0 cciss/c0d0 2139885 162788 37361471 8034486 17999760 83425680 811403924 12711100 0 6869440 20744635 +104 1 cciss/c0d0p1 1421 3292 10354 3681 351 270 1244 796 0 4271 4477 +104 2 cciss/c0d0p2 2138455 159477 37350893 8030772 17999409 83425410 811402680 12710304 0 6866888 20740564 +104 16 cciss/c0d1 1172445848 44249325 49905881344 3910154917 3461429428 29008878 138140601807 445487273 17 164991287 60624777 +105 0 cciss/c1d0 73924 269836 2753177 412500 2420473 19748 321780475 6652131 0 514459 7064611 +253 0 dm-0 257136 0 3846266 2153516 5512530 0 44100240 3487167 0 1438725 5641216 +9 0 md0 0 0 0 0 0 0 0 0 0 0 0 +TS 1281367524 +1 0 ram0 0 0 0 0 0 0 0 0 0 0 0 +104 0 cciss/c0d0 2139885 162788 37361471 8034486 17999764 83425707 811404172 12711100 0 6869440 20744635 +104 1 cciss/c0d0p1 1421 3292 10354 3681 351 270 1244 796 0 4271 4477 +104 2 cciss/c0d0p2 2138455 159477 37350893 8030772 17999413 83425437 811402928 12710304 0 6866888 20740564 +104 16 cciss/c0d1 1172446696 44249328 49905917496 3910176524 3461431407 29008878 138140700196 445487503 9 164993065 60646578 +105 0 cciss/c1d0 73924 269836 2753177 412500 2420473 19748 321780475 6652131 0 514459 7064611 +253 0 dm-0 257136 0 3846266 2153516 5512530 0 44100240 3487167 0 1438725 5641216 +9 0 md0 0 0 0 0 0 0 0 0 0 0 0 +TS 1281367526 +1 0 ram0 0 0 0 0 0 0 0 0 0 0 0 +104 0 cciss/c0d0 2139885 162788 37361471 8034486 17999806 83426057 811407308 12711120 0 6869442 20744655 +104 1 cciss/c0d0p1 1421 3292 10354 3681 351 270 1244 796 0 4271 4477 +104 2 cciss/c0d0p2 2138455 159477 37350893 8030772 17999455 83425787 811406064 12710324 0 6866890 20740584 +104 16 cciss/c0d1 1172447376 44249329 49905942352 3910192741 3461433233 29008880 138140790476 445487714 5 164994787 60662861 +105 0 cciss/c1d0 73924 269836 2753177 412500 2420473 19748 321780475 6652131 0 514459 7064611 +253 0 dm-0 257136 0 3846266 2153516 5512919 0 44103352 3487398 0 1438727 5641447 +9 0 md0 0 0 0 0 0 0 0 0 0 0 0 diff --git a/t/pt-diskstats/samples/switch_to_sample.txt b/t/pt-diskstats/samples/switch_to_sample.txt new file mode 100644 index 00000000..a529d8f1 --- /dev/null +++ b/t/pt-diskstats/samples/switch_to_sample.txt @@ -0,0 +1,480 @@ +TS 1326806185.740921000 2012-01-17T10:16:25 + 1 0 ram0 0 0 0 0 0 0 0 0 0 0 0 + 1 1 ram1 0 0 0 0 0 0 0 0 0 0 0 + 1 2 ram2 0 0 0 0 0 0 0 0 0 0 0 + 1 3 ram3 0 0 0 0 0 0 0 0 0 0 0 + 1 4 ram4 0 0 0 0 0 0 0 0 0 0 0 + 1 5 ram5 0 0 0 0 0 0 0 0 0 0 0 + 1 6 ram6 0 0 0 0 0 0 0 0 0 0 0 + 1 7 ram7 0 0 0 0 0 0 0 0 0 0 0 + 1 8 ram8 0 0 0 0 0 0 0 0 0 0 0 + 1 9 ram9 0 0 0 0 0 0 0 0 0 0 0 + 1 10 ram10 0 0 0 0 0 0 0 0 0 0 0 + 1 11 ram11 0 0 0 0 0 0 0 0 0 0 0 + 1 12 ram12 0 0 0 0 0 0 0 0 0 0 0 + 1 13 ram13 0 0 0 0 0 0 0 0 0 0 0 + 1 14 ram14 0 0 0 0 0 0 0 0 0 0 0 + 1 15 ram15 0 0 0 0 0 0 0 0 0 0 0 + 7 0 loop0 0 0 0 0 0 0 0 0 0 0 0 + 7 1 loop1 0 0 0 0 0 0 0 0 0 0 0 + 7 2 loop2 0 0 0 0 0 0 0 0 0 0 0 + 7 3 loop3 0 0 0 0 0 0 0 0 0 0 0 + 7 4 loop4 0 0 0 0 0 0 0 0 0 0 0 + 7 5 loop5 0 0 0 0 0 0 0 0 0 0 0 + 7 6 loop6 0 0 0 0 0 0 0 0 0 0 0 + 7 7 loop7 0 0 0 0 0 0 0 0 0 0 0 + 8 0 sda 50032 15372 1551175 589373 631143 1755531 19096432 4151503 0 678570 4751870 + 8 1 sda1 39 560 1285 1156 0 0 0 0 0 1020 1156 + 8 2 sda2 132 7184 7890 2523 0 0 0 0 0 2140 2523 + 8 3 sda3 48600 567 1477874 562406 629580 1715573 18764264 4137760 0 657920 4711820 + 8 4 sda4 1242 7042 63822 22896 1563 39958 332168 13743 0 27116 36736 + 8 16 sdb 57 633 1719 473 0 0 0 0 0 356 473 + 8 17 sdb1 40 605 1359 236 0 0 0 0 0 153 236 +TS 1326806186.744667000 2012-01-17T10:16:26 + 1 0 ram0 0 0 0 0 0 0 0 0 0 0 0 + 1 1 ram1 0 0 0 0 0 0 0 0 0 0 0 + 1 2 ram2 0 0 0 0 0 0 0 0 0 0 0 + 1 3 ram3 0 0 0 0 0 0 0 0 0 0 0 + 1 4 ram4 0 0 0 0 0 0 0 0 0 0 0 + 1 5 ram5 0 0 0 0 0 0 0 0 0 0 0 + 1 6 ram6 0 0 0 0 0 0 0 0 0 0 0 + 1 7 ram7 0 0 0 0 0 0 0 0 0 0 0 + 1 8 ram8 0 0 0 0 0 0 0 0 0 0 0 + 1 9 ram9 0 0 0 0 0 0 0 0 0 0 0 + 1 10 ram10 0 0 0 0 0 0 0 0 0 0 0 + 1 11 ram11 0 0 0 0 0 0 0 0 0 0 0 + 1 12 ram12 0 0 0 0 0 0 0 0 0 0 0 + 1 13 ram13 0 0 0 0 0 0 0 0 0 0 0 + 1 14 ram14 0 0 0 0 0 0 0 0 0 0 0 + 1 15 ram15 0 0 0 0 0 0 0 0 0 0 0 + 7 0 loop0 0 0 0 0 0 0 0 0 0 0 0 + 7 1 loop1 0 0 0 0 0 0 0 0 0 0 0 + 7 2 loop2 0 0 0 0 0 0 0 0 0 0 0 + 7 3 loop3 0 0 0 0 0 0 0 0 0 0 0 + 7 4 loop4 0 0 0 0 0 0 0 0 0 0 0 + 7 5 loop5 0 0 0 0 0 0 0 0 0 0 0 + 7 6 loop6 0 0 0 0 0 0 0 0 0 0 0 + 7 7 loop7 0 0 0 0 0 0 0 0 0 0 0 + 8 0 sda 50032 15372 1551175 589373 631143 1755531 19096432 4151503 0 678570 4751870 + 8 1 sda1 39 560 1285 1156 0 0 0 0 0 1020 1156 + 8 2 sda2 132 7184 7890 2523 0 0 0 0 0 2140 2523 + 8 3 sda3 48600 567 1477874 562406 629580 1715573 18764264 4137760 0 657920 4711820 + 8 4 sda4 1242 7042 63822 22896 1563 39958 332168 13743 0 27116 36736 + 8 16 sdb 57 633 1719 473 0 0 0 0 0 356 473 + 8 17 sdb1 40 605 1359 236 0 0 0 0 0 153 236 +TS 1326806187.747834000 2012-01-17T10:16:27 + 1 0 ram0 0 0 0 0 0 0 0 0 0 0 0 + 1 1 ram1 0 0 0 0 0 0 0 0 0 0 0 + 1 2 ram2 0 0 0 0 0 0 0 0 0 0 0 + 1 3 ram3 0 0 0 0 0 0 0 0 0 0 0 + 1 4 ram4 0 0 0 0 0 0 0 0 0 0 0 + 1 5 ram5 0 0 0 0 0 0 0 0 0 0 0 + 1 6 ram6 0 0 0 0 0 0 0 0 0 0 0 + 1 7 ram7 0 0 0 0 0 0 0 0 0 0 0 + 1 8 ram8 0 0 0 0 0 0 0 0 0 0 0 + 1 9 ram9 0 0 0 0 0 0 0 0 0 0 0 + 1 10 ram10 0 0 0 0 0 0 0 0 0 0 0 + 1 11 ram11 0 0 0 0 0 0 0 0 0 0 0 + 1 12 ram12 0 0 0 0 0 0 0 0 0 0 0 + 1 13 ram13 0 0 0 0 0 0 0 0 0 0 0 + 1 14 ram14 0 0 0 0 0 0 0 0 0 0 0 + 1 15 ram15 0 0 0 0 0 0 0 0 0 0 0 + 7 0 loop0 0 0 0 0 0 0 0 0 0 0 0 + 7 1 loop1 0 0 0 0 0 0 0 0 0 0 0 + 7 2 loop2 0 0 0 0 0 0 0 0 0 0 0 + 7 3 loop3 0 0 0 0 0 0 0 0 0 0 0 + 7 4 loop4 0 0 0 0 0 0 0 0 0 0 0 + 7 5 loop5 0 0 0 0 0 0 0 0 0 0 0 + 7 6 loop6 0 0 0 0 0 0 0 0 0 0 0 + 7 7 loop7 0 0 0 0 0 0 0 0 0 0 0 + 8 0 sda 50032 15372 1551175 589373 631143 1755531 19096432 4151503 0 678570 4751870 + 8 1 sda1 39 560 1285 1156 0 0 0 0 0 1020 1156 + 8 2 sda2 132 7184 7890 2523 0 0 0 0 0 2140 2523 + 8 3 sda3 48600 567 1477874 562406 629580 1715573 18764264 4137760 0 657920 4711820 + 8 4 sda4 1242 7042 63822 22896 1563 39958 332168 13743 0 27116 36736 + 8 16 sdb 57 633 1719 473 0 0 0 0 0 356 473 + 8 17 sdb1 40 605 1359 236 0 0 0 0 0 153 236 +TS 1326806188.750629000 2012-01-17T10:16:28 + 1 0 ram0 0 0 0 0 0 0 0 0 0 0 0 + 1 1 ram1 0 0 0 0 0 0 0 0 0 0 0 + 1 2 ram2 0 0 0 0 0 0 0 0 0 0 0 + 1 3 ram3 0 0 0 0 0 0 0 0 0 0 0 + 1 4 ram4 0 0 0 0 0 0 0 0 0 0 0 + 1 5 ram5 0 0 0 0 0 0 0 0 0 0 0 + 1 6 ram6 0 0 0 0 0 0 0 0 0 0 0 + 1 7 ram7 0 0 0 0 0 0 0 0 0 0 0 + 1 8 ram8 0 0 0 0 0 0 0 0 0 0 0 + 1 9 ram9 0 0 0 0 0 0 0 0 0 0 0 + 1 10 ram10 0 0 0 0 0 0 0 0 0 0 0 + 1 11 ram11 0 0 0 0 0 0 0 0 0 0 0 + 1 12 ram12 0 0 0 0 0 0 0 0 0 0 0 + 1 13 ram13 0 0 0 0 0 0 0 0 0 0 0 + 1 14 ram14 0 0 0 0 0 0 0 0 0 0 0 + 1 15 ram15 0 0 0 0 0 0 0 0 0 0 0 + 7 0 loop0 0 0 0 0 0 0 0 0 0 0 0 + 7 1 loop1 0 0 0 0 0 0 0 0 0 0 0 + 7 2 loop2 0 0 0 0 0 0 0 0 0 0 0 + 7 3 loop3 0 0 0 0 0 0 0 0 0 0 0 + 7 4 loop4 0 0 0 0 0 0 0 0 0 0 0 + 7 5 loop5 0 0 0 0 0 0 0 0 0 0 0 + 7 6 loop6 0 0 0 0 0 0 0 0 0 0 0 + 7 7 loop7 0 0 0 0 0 0 0 0 0 0 0 + 8 0 sda 50032 15372 1551175 589373 631143 1755531 19096432 4151503 0 678570 4751870 + 8 1 sda1 39 560 1285 1156 0 0 0 0 0 1020 1156 + 8 2 sda2 132 7184 7890 2523 0 0 0 0 0 2140 2523 + 8 3 sda3 48600 567 1477874 562406 629580 1715573 18764264 4137760 0 657920 4711820 + 8 4 sda4 1242 7042 63822 22896 1563 39958 332168 13743 0 27116 36736 + 8 16 sdb 57 633 1719 473 0 0 0 0 0 356 473 + 8 17 sdb1 40 605 1359 236 0 0 0 0 0 153 236 +TS 1326806189.753472000 2012-01-17T10:16:29 + 1 0 ram0 0 0 0 0 0 0 0 0 0 0 0 + 1 1 ram1 0 0 0 0 0 0 0 0 0 0 0 + 1 2 ram2 0 0 0 0 0 0 0 0 0 0 0 + 1 3 ram3 0 0 0 0 0 0 0 0 0 0 0 + 1 4 ram4 0 0 0 0 0 0 0 0 0 0 0 + 1 5 ram5 0 0 0 0 0 0 0 0 0 0 0 + 1 6 ram6 0 0 0 0 0 0 0 0 0 0 0 + 1 7 ram7 0 0 0 0 0 0 0 0 0 0 0 + 1 8 ram8 0 0 0 0 0 0 0 0 0 0 0 + 1 9 ram9 0 0 0 0 0 0 0 0 0 0 0 + 1 10 ram10 0 0 0 0 0 0 0 0 0 0 0 + 1 11 ram11 0 0 0 0 0 0 0 0 0 0 0 + 1 12 ram12 0 0 0 0 0 0 0 0 0 0 0 + 1 13 ram13 0 0 0 0 0 0 0 0 0 0 0 + 1 14 ram14 0 0 0 0 0 0 0 0 0 0 0 + 1 15 ram15 0 0 0 0 0 0 0 0 0 0 0 + 7 0 loop0 0 0 0 0 0 0 0 0 0 0 0 + 7 1 loop1 0 0 0 0 0 0 0 0 0 0 0 + 7 2 loop2 0 0 0 0 0 0 0 0 0 0 0 + 7 3 loop3 0 0 0 0 0 0 0 0 0 0 0 + 7 4 loop4 0 0 0 0 0 0 0 0 0 0 0 + 7 5 loop5 0 0 0 0 0 0 0 0 0 0 0 + 7 6 loop6 0 0 0 0 0 0 0 0 0 0 0 + 7 7 loop7 0 0 0 0 0 0 0 0 0 0 0 + 8 0 sda 50032 15372 1551175 589373 631143 1755531 19096432 4151503 0 678570 4751870 + 8 1 sda1 39 560 1285 1156 0 0 0 0 0 1020 1156 + 8 2 sda2 132 7184 7890 2523 0 0 0 0 0 2140 2523 + 8 3 sda3 48600 567 1477874 562406 629580 1715573 18764264 4137760 0 657920 4711820 + 8 4 sda4 1242 7042 63822 22896 1563 39958 332168 13743 0 27116 36736 + 8 16 sdb 57 633 1719 473 0 0 0 0 0 356 473 + 8 17 sdb1 40 605 1359 236 0 0 0 0 0 153 236 +TS 1326806190.756509000 2012-01-17T10:16:30 + 1 0 ram0 0 0 0 0 0 0 0 0 0 0 0 + 1 1 ram1 0 0 0 0 0 0 0 0 0 0 0 + 1 2 ram2 0 0 0 0 0 0 0 0 0 0 0 + 1 3 ram3 0 0 0 0 0 0 0 0 0 0 0 + 1 4 ram4 0 0 0 0 0 0 0 0 0 0 0 + 1 5 ram5 0 0 0 0 0 0 0 0 0 0 0 + 1 6 ram6 0 0 0 0 0 0 0 0 0 0 0 + 1 7 ram7 0 0 0 0 0 0 0 0 0 0 0 + 1 8 ram8 0 0 0 0 0 0 0 0 0 0 0 + 1 9 ram9 0 0 0 0 0 0 0 0 0 0 0 + 1 10 ram10 0 0 0 0 0 0 0 0 0 0 0 + 1 11 ram11 0 0 0 0 0 0 0 0 0 0 0 + 1 12 ram12 0 0 0 0 0 0 0 0 0 0 0 + 1 13 ram13 0 0 0 0 0 0 0 0 0 0 0 + 1 14 ram14 0 0 0 0 0 0 0 0 0 0 0 + 1 15 ram15 0 0 0 0 0 0 0 0 0 0 0 + 7 0 loop0 0 0 0 0 0 0 0 0 0 0 0 + 7 1 loop1 0 0 0 0 0 0 0 0 0 0 0 + 7 2 loop2 0 0 0 0 0 0 0 0 0 0 0 + 7 3 loop3 0 0 0 0 0 0 0 0 0 0 0 + 7 4 loop4 0 0 0 0 0 0 0 0 0 0 0 + 7 5 loop5 0 0 0 0 0 0 0 0 0 0 0 + 7 6 loop6 0 0 0 0 0 0 0 0 0 0 0 + 7 7 loop7 0 0 0 0 0 0 0 0 0 0 0 + 8 0 sda 50032 15372 1551175 589373 631146 1755536 19096496 4151503 0 678570 4751870 + 8 1 sda1 39 560 1285 1156 0 0 0 0 0 1020 1156 + 8 2 sda2 132 7184 7890 2523 0 0 0 0 0 2140 2523 + 8 3 sda3 48600 567 1477874 562406 629583 1715578 18764328 4137760 0 657920 4711820 + 8 4 sda4 1242 7042 63822 22896 1563 39958 332168 13743 0 27116 36736 + 8 16 sdb 57 633 1719 473 0 0 0 0 0 356 473 + 8 17 sdb1 40 605 1359 236 0 0 0 0 0 153 236 +TS 1326806191.759391000 2012-01-17T10:16:31 + 1 0 ram0 0 0 0 0 0 0 0 0 0 0 0 + 1 1 ram1 0 0 0 0 0 0 0 0 0 0 0 + 1 2 ram2 0 0 0 0 0 0 0 0 0 0 0 + 1 3 ram3 0 0 0 0 0 0 0 0 0 0 0 + 1 4 ram4 0 0 0 0 0 0 0 0 0 0 0 + 1 5 ram5 0 0 0 0 0 0 0 0 0 0 0 + 1 6 ram6 0 0 0 0 0 0 0 0 0 0 0 + 1 7 ram7 0 0 0 0 0 0 0 0 0 0 0 + 1 8 ram8 0 0 0 0 0 0 0 0 0 0 0 + 1 9 ram9 0 0 0 0 0 0 0 0 0 0 0 + 1 10 ram10 0 0 0 0 0 0 0 0 0 0 0 + 1 11 ram11 0 0 0 0 0 0 0 0 0 0 0 + 1 12 ram12 0 0 0 0 0 0 0 0 0 0 0 + 1 13 ram13 0 0 0 0 0 0 0 0 0 0 0 + 1 14 ram14 0 0 0 0 0 0 0 0 0 0 0 + 1 15 ram15 0 0 0 0 0 0 0 0 0 0 0 + 7 0 loop0 0 0 0 0 0 0 0 0 0 0 0 + 7 1 loop1 0 0 0 0 0 0 0 0 0 0 0 + 7 2 loop2 0 0 0 0 0 0 0 0 0 0 0 + 7 3 loop3 0 0 0 0 0 0 0 0 0 0 0 + 7 4 loop4 0 0 0 0 0 0 0 0 0 0 0 + 7 5 loop5 0 0 0 0 0 0 0 0 0 0 0 + 7 6 loop6 0 0 0 0 0 0 0 0 0 0 0 + 7 7 loop7 0 0 0 0 0 0 0 0 0 0 0 + 8 0 sda 50032 15372 1551175 589373 631146 1755536 19096496 4151503 0 678570 4751870 + 8 1 sda1 39 560 1285 1156 0 0 0 0 0 1020 1156 + 8 2 sda2 132 7184 7890 2523 0 0 0 0 0 2140 2523 + 8 3 sda3 48600 567 1477874 562406 629583 1715578 18764328 4137760 0 657920 4711820 + 8 4 sda4 1242 7042 63822 22896 1563 39958 332168 13743 0 27116 36736 + 8 16 sdb 57 633 1719 473 0 0 0 0 0 356 473 + 8 17 sdb1 40 605 1359 236 0 0 0 0 0 153 236 +TS 1326806192.762187000 2012-01-17T10:16:32 + 1 0 ram0 0 0 0 0 0 0 0 0 0 0 0 + 1 1 ram1 0 0 0 0 0 0 0 0 0 0 0 + 1 2 ram2 0 0 0 0 0 0 0 0 0 0 0 + 1 3 ram3 0 0 0 0 0 0 0 0 0 0 0 + 1 4 ram4 0 0 0 0 0 0 0 0 0 0 0 + 1 5 ram5 0 0 0 0 0 0 0 0 0 0 0 + 1 6 ram6 0 0 0 0 0 0 0 0 0 0 0 + 1 7 ram7 0 0 0 0 0 0 0 0 0 0 0 + 1 8 ram8 0 0 0 0 0 0 0 0 0 0 0 + 1 9 ram9 0 0 0 0 0 0 0 0 0 0 0 + 1 10 ram10 0 0 0 0 0 0 0 0 0 0 0 + 1 11 ram11 0 0 0 0 0 0 0 0 0 0 0 + 1 12 ram12 0 0 0 0 0 0 0 0 0 0 0 + 1 13 ram13 0 0 0 0 0 0 0 0 0 0 0 + 1 14 ram14 0 0 0 0 0 0 0 0 0 0 0 + 1 15 ram15 0 0 0 0 0 0 0 0 0 0 0 + 7 0 loop0 0 0 0 0 0 0 0 0 0 0 0 + 7 1 loop1 0 0 0 0 0 0 0 0 0 0 0 + 7 2 loop2 0 0 0 0 0 0 0 0 0 0 0 + 7 3 loop3 0 0 0 0 0 0 0 0 0 0 0 + 7 4 loop4 0 0 0 0 0 0 0 0 0 0 0 + 7 5 loop5 0 0 0 0 0 0 0 0 0 0 0 + 7 6 loop6 0 0 0 0 0 0 0 0 0 0 0 + 7 7 loop7 0 0 0 0 0 0 0 0 0 0 0 + 8 0 sda 50032 15372 1551175 589373 631146 1755536 19096496 4151503 0 678570 4751870 + 8 1 sda1 39 560 1285 1156 0 0 0 0 0 1020 1156 + 8 2 sda2 132 7184 7890 2523 0 0 0 0 0 2140 2523 + 8 3 sda3 48600 567 1477874 562406 629583 1715578 18764328 4137760 0 657920 4711820 + 8 4 sda4 1242 7042 63822 22896 1563 39958 332168 13743 0 27116 36736 + 8 16 sdb 57 633 1719 473 0 0 0 0 0 356 473 + 8 17 sdb1 40 605 1359 236 0 0 0 0 0 153 236 +TS 1326806193.764587000 2012-01-17T10:16:33 + 1 0 ram0 0 0 0 0 0 0 0 0 0 0 0 + 1 1 ram1 0 0 0 0 0 0 0 0 0 0 0 + 1 2 ram2 0 0 0 0 0 0 0 0 0 0 0 + 1 3 ram3 0 0 0 0 0 0 0 0 0 0 0 + 1 4 ram4 0 0 0 0 0 0 0 0 0 0 0 + 1 5 ram5 0 0 0 0 0 0 0 0 0 0 0 + 1 6 ram6 0 0 0 0 0 0 0 0 0 0 0 + 1 7 ram7 0 0 0 0 0 0 0 0 0 0 0 + 1 8 ram8 0 0 0 0 0 0 0 0 0 0 0 + 1 9 ram9 0 0 0 0 0 0 0 0 0 0 0 + 1 10 ram10 0 0 0 0 0 0 0 0 0 0 0 + 1 11 ram11 0 0 0 0 0 0 0 0 0 0 0 + 1 12 ram12 0 0 0 0 0 0 0 0 0 0 0 + 1 13 ram13 0 0 0 0 0 0 0 0 0 0 0 + 1 14 ram14 0 0 0 0 0 0 0 0 0 0 0 + 1 15 ram15 0 0 0 0 0 0 0 0 0 0 0 + 7 0 loop0 0 0 0 0 0 0 0 0 0 0 0 + 7 1 loop1 0 0 0 0 0 0 0 0 0 0 0 + 7 2 loop2 0 0 0 0 0 0 0 0 0 0 0 + 7 3 loop3 0 0 0 0 0 0 0 0 0 0 0 + 7 4 loop4 0 0 0 0 0 0 0 0 0 0 0 + 7 5 loop5 0 0 0 0 0 0 0 0 0 0 0 + 7 6 loop6 0 0 0 0 0 0 0 0 0 0 0 + 7 7 loop7 0 0 0 0 0 0 0 0 0 0 0 + 8 0 sda 50032 15372 1551175 589373 631146 1755536 19096496 4151503 0 678570 4751870 + 8 1 sda1 39 560 1285 1156 0 0 0 0 0 1020 1156 + 8 2 sda2 132 7184 7890 2523 0 0 0 0 0 2140 2523 + 8 3 sda3 48600 567 1477874 562406 629583 1715578 18764328 4137760 0 657920 4711820 + 8 4 sda4 1242 7042 63822 22896 1563 39958 332168 13743 0 27116 36736 + 8 16 sdb 57 633 1719 473 0 0 0 0 0 356 473 + 8 17 sdb1 40 605 1359 236 0 0 0 0 0 153 236 +TS 1326806194.767395000 2012-01-17T10:16:34 + 1 0 ram0 0 0 0 0 0 0 0 0 0 0 0 + 1 1 ram1 0 0 0 0 0 0 0 0 0 0 0 + 1 2 ram2 0 0 0 0 0 0 0 0 0 0 0 + 1 3 ram3 0 0 0 0 0 0 0 0 0 0 0 + 1 4 ram4 0 0 0 0 0 0 0 0 0 0 0 + 1 5 ram5 0 0 0 0 0 0 0 0 0 0 0 + 1 6 ram6 0 0 0 0 0 0 0 0 0 0 0 + 1 7 ram7 0 0 0 0 0 0 0 0 0 0 0 + 1 8 ram8 0 0 0 0 0 0 0 0 0 0 0 + 1 9 ram9 0 0 0 0 0 0 0 0 0 0 0 + 1 10 ram10 0 0 0 0 0 0 0 0 0 0 0 + 1 11 ram11 0 0 0 0 0 0 0 0 0 0 0 + 1 12 ram12 0 0 0 0 0 0 0 0 0 0 0 + 1 13 ram13 0 0 0 0 0 0 0 0 0 0 0 + 1 14 ram14 0 0 0 0 0 0 0 0 0 0 0 + 1 15 ram15 0 0 0 0 0 0 0 0 0 0 0 + 7 0 loop0 0 0 0 0 0 0 0 0 0 0 0 + 7 1 loop1 0 0 0 0 0 0 0 0 0 0 0 + 7 2 loop2 0 0 0 0 0 0 0 0 0 0 0 + 7 3 loop3 0 0 0 0 0 0 0 0 0 0 0 + 7 4 loop4 0 0 0 0 0 0 0 0 0 0 0 + 7 5 loop5 0 0 0 0 0 0 0 0 0 0 0 + 7 6 loop6 0 0 0 0 0 0 0 0 0 0 0 + 7 7 loop7 0 0 0 0 0 0 0 0 0 0 0 + 8 0 sda 50032 15372 1551175 589373 631146 1755536 19096496 4151503 0 678570 4751870 + 8 1 sda1 39 560 1285 1156 0 0 0 0 0 1020 1156 + 8 2 sda2 132 7184 7890 2523 0 0 0 0 0 2140 2523 + 8 3 sda3 48600 567 1477874 562406 629583 1715578 18764328 4137760 0 657920 4711820 + 8 4 sda4 1242 7042 63822 22896 1563 39958 332168 13743 0 27116 36736 + 8 16 sdb 57 633 1719 473 0 0 0 0 0 356 473 + 8 17 sdb1 40 605 1359 236 0 0 0 0 0 153 236 +TS 1326806195.770337000 2012-01-17T10:16:35 + 1 0 ram0 0 0 0 0 0 0 0 0 0 0 0 + 1 1 ram1 0 0 0 0 0 0 0 0 0 0 0 + 1 2 ram2 0 0 0 0 0 0 0 0 0 0 0 + 1 3 ram3 0 0 0 0 0 0 0 0 0 0 0 + 1 4 ram4 0 0 0 0 0 0 0 0 0 0 0 + 1 5 ram5 0 0 0 0 0 0 0 0 0 0 0 + 1 6 ram6 0 0 0 0 0 0 0 0 0 0 0 + 1 7 ram7 0 0 0 0 0 0 0 0 0 0 0 + 1 8 ram8 0 0 0 0 0 0 0 0 0 0 0 + 1 9 ram9 0 0 0 0 0 0 0 0 0 0 0 + 1 10 ram10 0 0 0 0 0 0 0 0 0 0 0 + 1 11 ram11 0 0 0 0 0 0 0 0 0 0 0 + 1 12 ram12 0 0 0 0 0 0 0 0 0 0 0 + 1 13 ram13 0 0 0 0 0 0 0 0 0 0 0 + 1 14 ram14 0 0 0 0 0 0 0 0 0 0 0 + 1 15 ram15 0 0 0 0 0 0 0 0 0 0 0 + 7 0 loop0 0 0 0 0 0 0 0 0 0 0 0 + 7 1 loop1 0 0 0 0 0 0 0 0 0 0 0 + 7 2 loop2 0 0 0 0 0 0 0 0 0 0 0 + 7 3 loop3 0 0 0 0 0 0 0 0 0 0 0 + 7 4 loop4 0 0 0 0 0 0 0 0 0 0 0 + 7 5 loop5 0 0 0 0 0 0 0 0 0 0 0 + 7 6 loop6 0 0 0 0 0 0 0 0 0 0 0 + 7 7 loop7 0 0 0 0 0 0 0 0 0 0 0 + 8 0 sda 50032 15372 1551175 589373 631149 1755538 19096536 4151503 0 678570 4751870 + 8 1 sda1 39 560 1285 1156 0 0 0 0 0 1020 1156 + 8 2 sda2 132 7184 7890 2523 0 0 0 0 0 2140 2523 + 8 3 sda3 48600 567 1477874 562406 629586 1715580 18764368 4137760 0 657920 4711820 + 8 4 sda4 1242 7042 63822 22896 1563 39958 332168 13743 0 27116 36736 + 8 16 sdb 57 633 1719 473 0 0 0 0 0 356 473 + 8 17 sdb1 40 605 1359 236 0 0 0 0 0 153 236 +TS 1326806196.773737000 2012-01-17T10:16:36 + 1 0 ram0 0 0 0 0 0 0 0 0 0 0 0 + 1 1 ram1 0 0 0 0 0 0 0 0 0 0 0 + 1 2 ram2 0 0 0 0 0 0 0 0 0 0 0 + 1 3 ram3 0 0 0 0 0 0 0 0 0 0 0 + 1 4 ram4 0 0 0 0 0 0 0 0 0 0 0 + 1 5 ram5 0 0 0 0 0 0 0 0 0 0 0 + 1 6 ram6 0 0 0 0 0 0 0 0 0 0 0 + 1 7 ram7 0 0 0 0 0 0 0 0 0 0 0 + 1 8 ram8 0 0 0 0 0 0 0 0 0 0 0 + 1 9 ram9 0 0 0 0 0 0 0 0 0 0 0 + 1 10 ram10 0 0 0 0 0 0 0 0 0 0 0 + 1 11 ram11 0 0 0 0 0 0 0 0 0 0 0 + 1 12 ram12 0 0 0 0 0 0 0 0 0 0 0 + 1 13 ram13 0 0 0 0 0 0 0 0 0 0 0 + 1 14 ram14 0 0 0 0 0 0 0 0 0 0 0 + 1 15 ram15 0 0 0 0 0 0 0 0 0 0 0 + 7 0 loop0 0 0 0 0 0 0 0 0 0 0 0 + 7 1 loop1 0 0 0 0 0 0 0 0 0 0 0 + 7 2 loop2 0 0 0 0 0 0 0 0 0 0 0 + 7 3 loop3 0 0 0 0 0 0 0 0 0 0 0 + 7 4 loop4 0 0 0 0 0 0 0 0 0 0 0 + 7 5 loop5 0 0 0 0 0 0 0 0 0 0 0 + 7 6 loop6 0 0 0 0 0 0 0 0 0 0 0 + 7 7 loop7 0 0 0 0 0 0 0 0 0 0 0 + 8 0 sda 50032 15372 1551175 589373 631149 1755538 19096536 4151503 0 678570 4751870 + 8 1 sda1 39 560 1285 1156 0 0 0 0 0 1020 1156 + 8 2 sda2 132 7184 7890 2523 0 0 0 0 0 2140 2523 + 8 3 sda3 48600 567 1477874 562406 629586 1715580 18764368 4137760 0 657920 4711820 + 8 4 sda4 1242 7042 63822 22896 1563 39958 332168 13743 0 27116 36736 + 8 16 sdb 57 633 1719 473 0 0 0 0 0 356 473 + 8 17 sdb1 40 605 1359 236 0 0 0 0 0 153 236 +TS 1326806197.776486000 2012-01-17T10:16:37 + 1 0 ram0 0 0 0 0 0 0 0 0 0 0 0 + 1 1 ram1 0 0 0 0 0 0 0 0 0 0 0 + 1 2 ram2 0 0 0 0 0 0 0 0 0 0 0 + 1 3 ram3 0 0 0 0 0 0 0 0 0 0 0 + 1 4 ram4 0 0 0 0 0 0 0 0 0 0 0 + 1 5 ram5 0 0 0 0 0 0 0 0 0 0 0 + 1 6 ram6 0 0 0 0 0 0 0 0 0 0 0 + 1 7 ram7 0 0 0 0 0 0 0 0 0 0 0 + 1 8 ram8 0 0 0 0 0 0 0 0 0 0 0 + 1 9 ram9 0 0 0 0 0 0 0 0 0 0 0 + 1 10 ram10 0 0 0 0 0 0 0 0 0 0 0 + 1 11 ram11 0 0 0 0 0 0 0 0 0 0 0 + 1 12 ram12 0 0 0 0 0 0 0 0 0 0 0 + 1 13 ram13 0 0 0 0 0 0 0 0 0 0 0 + 1 14 ram14 0 0 0 0 0 0 0 0 0 0 0 + 1 15 ram15 0 0 0 0 0 0 0 0 0 0 0 + 7 0 loop0 0 0 0 0 0 0 0 0 0 0 0 + 7 1 loop1 0 0 0 0 0 0 0 0 0 0 0 + 7 2 loop2 0 0 0 0 0 0 0 0 0 0 0 + 7 3 loop3 0 0 0 0 0 0 0 0 0 0 0 + 7 4 loop4 0 0 0 0 0 0 0 0 0 0 0 + 7 5 loop5 0 0 0 0 0 0 0 0 0 0 0 + 7 6 loop6 0 0 0 0 0 0 0 0 0 0 0 + 7 7 loop7 0 0 0 0 0 0 0 0 0 0 0 + 8 0 sda 50032 15372 1551175 589373 631149 1755538 19096536 4151503 0 678570 4751870 + 8 1 sda1 39 560 1285 1156 0 0 0 0 0 1020 1156 + 8 2 sda2 132 7184 7890 2523 0 0 0 0 0 2140 2523 + 8 3 sda3 48600 567 1477874 562406 629586 1715580 18764368 4137760 0 657920 4711820 + 8 4 sda4 1242 7042 63822 22896 1563 39958 332168 13743 0 27116 36736 + 8 16 sdb 57 633 1719 473 0 0 0 0 0 356 473 + 8 17 sdb1 40 605 1359 236 0 0 0 0 0 153 236 +TS 1326806198.779342000 2012-01-17T10:16:38 + 1 0 ram0 0 0 0 0 0 0 0 0 0 0 0 + 1 1 ram1 0 0 0 0 0 0 0 0 0 0 0 + 1 2 ram2 0 0 0 0 0 0 0 0 0 0 0 + 1 3 ram3 0 0 0 0 0 0 0 0 0 0 0 + 1 4 ram4 0 0 0 0 0 0 0 0 0 0 0 + 1 5 ram5 0 0 0 0 0 0 0 0 0 0 0 + 1 6 ram6 0 0 0 0 0 0 0 0 0 0 0 + 1 7 ram7 0 0 0 0 0 0 0 0 0 0 0 + 1 8 ram8 0 0 0 0 0 0 0 0 0 0 0 + 1 9 ram9 0 0 0 0 0 0 0 0 0 0 0 + 1 10 ram10 0 0 0 0 0 0 0 0 0 0 0 + 1 11 ram11 0 0 0 0 0 0 0 0 0 0 0 + 1 12 ram12 0 0 0 0 0 0 0 0 0 0 0 + 1 13 ram13 0 0 0 0 0 0 0 0 0 0 0 + 1 14 ram14 0 0 0 0 0 0 0 0 0 0 0 + 1 15 ram15 0 0 0 0 0 0 0 0 0 0 0 + 7 0 loop0 0 0 0 0 0 0 0 0 0 0 0 + 7 1 loop1 0 0 0 0 0 0 0 0 0 0 0 + 7 2 loop2 0 0 0 0 0 0 0 0 0 0 0 + 7 3 loop3 0 0 0 0 0 0 0 0 0 0 0 + 7 4 loop4 0 0 0 0 0 0 0 0 0 0 0 + 7 5 loop5 0 0 0 0 0 0 0 0 0 0 0 + 7 6 loop6 0 0 0 0 0 0 0 0 0 0 0 + 7 7 loop7 0 0 0 0 0 0 0 0 0 0 0 + 8 0 sda 50032 15372 1551175 589373 631149 1755538 19096536 4151503 0 678570 4751870 + 8 1 sda1 39 560 1285 1156 0 0 0 0 0 1020 1156 + 8 2 sda2 132 7184 7890 2523 0 0 0 0 0 2140 2523 + 8 3 sda3 48600 567 1477874 562406 629586 1715580 18764368 4137760 0 657920 4711820 + 8 4 sda4 1242 7042 63822 22896 1563 39958 332168 13743 0 27116 36736 + 8 16 sdb 57 633 1719 473 0 0 0 0 0 356 473 + 8 17 sdb1 40 605 1359 236 0 0 0 0 0 153 236 +TS 1326806199.782176000 2012-01-17T10:16:39 + 1 0 ram0 0 0 0 0 0 0 0 0 0 0 0 + 1 1 ram1 0 0 0 0 0 0 0 0 0 0 0 + 1 2 ram2 0 0 0 0 0 0 0 0 0 0 0 + 1 3 ram3 0 0 0 0 0 0 0 0 0 0 0 + 1 4 ram4 0 0 0 0 0 0 0 0 0 0 0 + 1 5 ram5 0 0 0 0 0 0 0 0 0 0 0 + 1 6 ram6 0 0 0 0 0 0 0 0 0 0 0 + 1 7 ram7 0 0 0 0 0 0 0 0 0 0 0 + 1 8 ram8 0 0 0 0 0 0 0 0 0 0 0 + 1 9 ram9 0 0 0 0 0 0 0 0 0 0 0 + 1 10 ram10 0 0 0 0 0 0 0 0 0 0 0 + 1 11 ram11 0 0 0 0 0 0 0 0 0 0 0 + 1 12 ram12 0 0 0 0 0 0 0 0 0 0 0 + 1 13 ram13 0 0 0 0 0 0 0 0 0 0 0 + 1 14 ram14 0 0 0 0 0 0 0 0 0 0 0 + 1 15 ram15 0 0 0 0 0 0 0 0 0 0 0 + 7 0 loop0 0 0 0 0 0 0 0 0 0 0 0 + 7 1 loop1 0 0 0 0 0 0 0 0 0 0 0 + 7 2 loop2 0 0 0 0 0 0 0 0 0 0 0 + 7 3 loop3 0 0 0 0 0 0 0 0 0 0 0 + 7 4 loop4 0 0 0 0 0 0 0 0 0 0 0 + 7 5 loop5 0 0 0 0 0 0 0 0 0 0 0 + 7 6 loop6 0 0 0 0 0 0 0 0 0 0 0 + 7 7 loop7 0 0 0 0 0 0 0 0 0 0 0 + 8 0 sda 50032 15372 1551175 589373 631149 1755538 19096536 4151503 0 678570 4751870 + 8 1 sda1 39 560 1285 1156 0 0 0 0 0 1020 1156 + 8 2 sda2 132 7184 7890 2523 0 0 0 0 0 2140 2523 + 8 3 sda3 48600 567 1477874 562406 629586 1715580 18764368 4137760 0 657920 4711820 + 8 4 sda4 1242 7042 63822 22896 1563 39958 332168 13743 0 27116 36736 + 8 16 sdb 57 633 1719 473 0 0 0 0 0 356 473 + 8 17 sdb1 40 605 1359 236 0 0 0 0 0 153 236