Cleaned up Solaris fix.

This commit is contained in:
Louwrentius 2010-03-26 22:36:36 +00:00
parent bdaab0afe3
commit 3f1b96e1bb

7
ppss
View File

@ -1565,12 +1565,7 @@ start_single_worker () {
stop-ppss () { stop-ppss () {
if [ "$ARCH" == "SunOS" ] STOP_PPSS=`get_time_in_seconds`
then
STOP_PPSS=`truss /usr/bin/date 2>&1 | grep ^time | awk '{ print $3 }'`
else
STOP_PPSS="$(date +%s)"
fi
elapsed "$START_PPSS" "$STOP_PPSS" elapsed "$START_PPSS" "$STOP_PPSS"
} }