summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/smokeinfo2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/smokeinfo b/bin/smokeinfo
index caf77d2..8f41a2a 100755
--- a/bin/smokeinfo
+++ b/bin/smokeinfo
@@ -33,7 +33,7 @@ sub main()
print '# ',join $opt{separator}, 'node_path',@rows if not $opt{'no-head'};
print "\n";
for my $node (@$nodes) {
- my $data = $si->stat_node($node,'end-24h','now');
+ my $data = $si->stat_node($node,$opt{start},$opt{end});
print join $opt{separator},$node->{path},map {defined $data->{$_} ? sprintf($opt{format},$data->{$_}) : '?'} @rows;
print "\n";
}