Cleaned up Solaris fix.
This commit is contained in:
parent
bdaab0afe3
commit
3f1b96e1bb
7
ppss
7
ppss
@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user