Index: src/platform/init/dump-boot-stats.conf |
diff --git a/src/platform/init/dump-boot-stats.conf b/src/platform/init/dump-boot-stats.conf |
index e59c2d47bf38ef9a23c050c627844225a0578a2e..4ab91853e1a3ff062e4580a20bd2e6d6b2630b0b 100644 |
--- a/src/platform/init/dump-boot-stats.conf |
+++ b/src/platform/init/dump-boot-stats.conf |
@@ -17,14 +17,10 @@ script |
DISK_STATS=`cat /sys/block/sda/stat` |
BOOT_TIME=`echo $UPTIME_STATS | cut -f 1 -d ' '` |
- BOOT_TIME_INT=`echo $BOOT_TIME | cut -f 1 -d '.'` |
- BOOT_TIME_FRACT=`echo $BOOT_TIME | cut -f 2 -d '.'` |
- BOOT_TIME_MSECS=$((BOOT_TIME_INT * 1000 + BOOT_TIME_FRACT * 10)) |
- |
SECTORS_READ=`echo $DISK_STATS | cut -f 3 -d ' '` |
SECTORS_WRITTEN=`echo $DISK_STATS | cut -f 7 -d ' '` |
- /usr/bin/metrics_client BootTime $BOOT_TIME_MSECS & |
+ /usr/bin/metrics_client -t BootTime $BOOT_TIME & |
/usr/bin/metrics_client BootSectorsRead $SECTORS_READ & |
/usr/bin/metrics_client BootSectorsWritten $SECTORS_WRITTEN & |