diff options
author | Marius Halden <marius.h@lden.org> | 2015-02-14 07:46:25 +0100 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2015-02-14 07:46:25 +0100 |
commit | b3f3afd5a377d1bfd008f7dd1e14df9ef2da856c (patch) | |
tree | 4dee3fc04824e0c23c642a9485493f1c3e4d9525 | |
parent | f6ced5e6a1a219f9f3c2ad9c85e23e7219ba8a48 (diff) | |
download | appdrift-stats-b3f3afd5a377d1bfd008f7dd1e14df9ef2da856c.tar.gz appdrift-stats-b3f3afd5a377d1bfd008f7dd1e14df9ef2da856c.tar.bz2 appdrift-stats-b3f3afd5a377d1bfd008f7dd1e14df9ef2da856c.tar.xz |
Save scoreboard for debugging
-rwxr-xr-x | stats.pl | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -40,6 +40,11 @@ if (!defined($content) || !$content || length $content < 1) { exit 1 } +my $now = `date +%Y%m%d-%H%M%S` +open FH, ">$rrd_path/rrd/scoreboard_$now"; +print FH $content; +close FH; + my @content = split /^-+$/m, $content; shift @content; |