Friday, July 12, 2013

Script to Find server startup time

We have startServer.sh StartManager.sh .. in a  websphere ND environment.If you want to find out the time taken to start a server after some performance changes pleaes add the below lines to the start
script

After the magic line in your start script please add startime=`date "+%s"`
and at the end of the script add
endtime=`date "+%s"`
time=`expr $endtime - $starttime`
echo "time taken to start server in seconds is:" $time

No comments:

Post a Comment

Your suggestions please