blob: 0feb2c89af4c8562e7de969cd6a5a10c02e1e36e [file] [log] [blame]
#!/usr/bin/env bash
PIDFILE=cc.pid
echo;
if [ -f ${PIDFILE} ] ; then
PID=`cat ${PIDFILE}`
nthreads=`ps -mp $PID | wc -l`
echo " Number of threads in wtp's CC process: $nthreads"
else
echo " PID file (${PIDFILE}) does not exist."
echo " Either CC not running, or PID file deleted"
fi
echo