make timestamp integer
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 13 Feb 2017 10:36:11 +0000 (11:36 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 13 Feb 2017 10:36:11 +0000 (11:36 +0100)
gnt-monitor

index 2d29a11..b0333a2 100755 (executable)
@@ -162,7 +162,7 @@ sub dump4influx {
 
 open(my $fh, '>', '/dev/shm/gnt-monitor.influx');
 
-my $t = time() * 1000_000_000;
+my $t = int( time() * 1000_000_000 );
 
 foreach my $instance ( keys %$stat ) {