projects
/
MojoFacets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22ac4c2
)
remove diff output
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 1 Jul 2010 20:35:04 +0000
(22:35 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 1 Jul 2010 20:35:04 +0000
(22:35 +0200)
it can be calculated on demand and will decrease storable size
script/vmstat.pl
patch
|
blob
|
history
diff --git
a/script/vmstat.pl
b/script/vmstat.pl
index
f7c1703
..
1e871c8
100755
(executable)
--- a/
script/vmstat.pl
+++ b/
script/vmstat.pl
@@
-44,7
+44,7
@@
while(<$in>) {
my @header = @{ $headers->{$#v} };
foreach my $i ( 0 .. $#header ) {
$item->{ $header[$i] } = $v[$i];
-
$item->{ $header[$i] . '.diff' } = $diff->[$i];
+
#
$item->{ $header[$i] . '.diff' } = $diff->[$i];
$item->{t} = time();
}
emit { item => $item };