#! /bin/sh # $Revision: 1.4 $ #bcpyrght #*************************************************************************** #* $VRTScprght: Copyright 2014 Symantec Corporation, All Rights Reserved $ * #*************************************************************************** #ecpyrght # ## Send a quit signal to all jre processes executing out of /usr/openv/java ## to get a stack trace. Given the released version of the application ## startup script, jnbSA, all log files reside in ## /usr/openv/netbackup/logs/user_ops/nbjlogs. ## ## This script must run under the account which the subject instantiation ## of the application is running, i.e., you can only successfully send the ## quit signal to processes you own. # PATH=/bin:/usr/bin:/usr/ucb:$PATH; export PATH PIDS=`ps -eaf | egrep "openv" | egrep "java/jre" | egrep -v "egrep" | awk '{print $2}'` kill -3 $PIDS > /dev/null 2>&1 # Thats all ...