From 70c9e689176e77c192d8bd87f6d87b3c03e9fc5c Mon Sep 17 00:00:00 2001 From: Dan White Date: Sat, 17 Sep 2011 21:52:13 -0500 Subject: [PATCH] Non-python extraction --- timeSampler | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/timeSampler b/timeSampler index 7ddb201..1fa7e0d 100755 --- a/timeSampler +++ b/timeSampler @@ -25,7 +25,8 @@ for i in $(seq 0 $MAXJOBS); do done function lastActivity { - python -c "print ' '.join(open('$LOGFILE').readlines()[-1].split()[2:])" + #python -c "print ' '.join(open('$LOGFILE').readlines()[-1].split()[2:])" + tail -1 $LOGFILE | cut -d' ' -f3- } # popup without blocking main script -- 2.25.1