Avaya CMS - Find zombie process
pps auxww
Z = Zombie Process
D = uninterruptible sleep.
$ ps auxww | grep "Z"
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 935 0.0 0.0 0 0 ? Z 17:40 0:00 [ech_copy.sh] <defunct>
cms 6569 0.0 0.0 103324 868 pts/4 S+ 17:50 0:00 grep Z
$ find ech_copy.sh
find: `ech_copy.sh': No such file or directory
$ locate ech_copy.sh
/export/home/pserv/ech/ech_copy.sh
$ cat /export/home/pserv/ech/ech_copy.sh
#!/bin/ksh
############################################################################
# #
# Copyright (c) 1997 - 2017 by Avaya Inc. All rights reserved. #
# #
############################################################################
#
# ech_copy.sh
#
# Load common functions and environment settings
BASEDIR=$(dirname $0)
. ${BASEDIR}/functions
# Set local variables
#HOME=/export/home/pserv/ech
. ${PKGHOME}/ech.conf # ECH configuration variables file.
# . ${PKGHOME}/cvx_ftp.funcs # declare functions
logit "============================================="
logit "Calling ech_copy"
# See if a timestamp file name is requested
if [[ "$TS_NAME" == "yes" ]]
then
ts=`date +$TS_FORMAT`
chr_name=`echo $2 | cut -f1 -d.`
new_name="${chr_name}.${ts}"
${PKGHOME}/ech_copy $1 $new_name
else
${PKGHOME}/ech_copy $1 $2
fi
$ ps auxww | grep "D"
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 4999 0.0 0.0 6872 796 ? Ss Mar11 2:48 /export/home/pserv/rt_socket/rt_socket1 -w29 -w 10 -a 5000 -E ==EOD== new_rtsocket 7000 1
root 5191 0.0 0.0 7528 956 ? Ss Mar11 2:25 /export/home/pserv/rt_socket/rt_socket2 -w29 -w 10 -a 10000 -E ==EOD== new_rtsocket 7002 1
root 5324 0.0 0.0 6872 984 ? Ss Mar11 14:07 /export/home/pserv/rt_socket/rt_socket3 -w29 -w 10 -a 5000 -E ==EOD== new_rtsocket 7001 1
root 5455 0.0 0.0 7528 880 ? Ss Mar11 1:29 /export/home/pserv/rt_socket/rt_socket4 -w29 -w 10 -a 10000 -E ==EOD== new_rtsocket 7003 1
root 5543 0.0 0.0 7528 936 ? Ss Mar11 2:11 /export/home/pserv/rt_socket/rt_socket5 -w29 -w 10 -a 10000 -E ==EOD== new_rtsocket 7004 1
root 5677 0.0 0.0 6872 756 ? Ss Mar11 0:19 /export/home/pserv/rt_socket/rt_socket6 -w29 -a 5000 -E ==EOD== -M180 -w90 COSVMDEV01 6996 1
cms 7005 0.0 0.0 103324 876 pts/4 S+ 17:51 0:00 grep D
No Comments