From 3f1b96e1bb0901e048cd3da1efe8955fbdb61729 Mon Sep 17 00:00:00 2001 From: Louwrentius Date: Fri, 26 Mar 2010 22:36:36 +0000 Subject: [PATCH] Cleaned up Solaris fix. --- ppss | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ppss b/ppss index 8f16328..ce1494a 100755 --- a/ppss +++ b/ppss @@ -1565,12 +1565,7 @@ start_single_worker () { stop-ppss () { - if [ "$ARCH" == "SunOS" ] - then - STOP_PPSS=`truss /usr/bin/date 2>&1 | grep ^time | awk '{ print $3 }'` - else - STOP_PPSS="$(date +%s)" - fi + STOP_PPSS=`get_time_in_seconds` elapsed "$START_PPSS" "$STOP_PPSS" }