From 62580c09ed0a719d0c1596fad50c412d87c73074 Mon Sep 17 00:00:00 2001 From: adilger Date: Fri, 13 Jun 2003 20:07:38 +0000 Subject: [PATCH] Grrr. Print the current time in seconds, instead of "s". --- lustre/tests/runvmstat | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lustre/tests/runvmstat b/lustre/tests/runvmstat index 3ce6810..b04d84c 100755 --- a/lustre/tests/runvmstat +++ b/lustre/tests/runvmstat @@ -1,5 +1,6 @@ #!/bin/sh vmstat 1 | while read LINE ; do - echo "`date +s`: $LINE" - [ "$1" ] && echo "`date +s`: $LINE" >> $1 + LINE="`date +%s`: $LINE" + echo $LINE + [ "$1" ] && echo $LINE >> $1 done -- 1.8.3.1