HEX
Server: Apache/2.4.34 (Red Hat) OpenSSL/1.0.2k-fips
System: Linux WORDPRESS 3.10.0-1160.118.1.el7.x86_64 #1 SMP Thu Apr 4 03:33:23 EDT 2024 x86_64
User: digital (1020)
PHP: 7.2.24
Disabled: NONE
Upload Files
File: //usr/openv/java/get_trace
#! /bin/sh
# $Revision$
#bcpyrght
#***************************************************************************
#* $Copyright: Copyright (c) 2016 Veritas Technologies LLC. All rights reserved VT25-0977-2658-84-51-3 $ *
#***************************************************************************
#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 ...