Cleaned up Solaris fix.

This commit is contained in:
Louwrentius 2010-03-26 22:36:36 +00:00
parent bdaab0afe3
commit 3f1b96e1bb
1 changed files with 1 additions and 6 deletions

7
ppss
View File

@ -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"
}