blob: 69a2a844b556449d0c0abd64250f86bc8205fdd4 [file] [log] [blame]
#!/bin/sh
PIDFILE=cc.pid
echo;
if [ -f ${PIDFILE} ] ; then
PID=`cat ${PIDFILE}`
# I've found lsof is in /user/sbin on some machines
nhandles=`/usr/bin/lsof -p $PID | wc -l`
echo " Number of handles in wtp's CC process: $nhandles"
else
echo " PID file (${PIDFILE}) does not exist."
echo " Either CC not running, or PID file deleted"
fi
echo