blob: 5e65225c011beaca6e34f3a4242220686ab59cfb [file] [log] [blame]
david_williams392e6272008-12-03 03:15:52 +00001#!/bin/sh
2PIDFILE=cc.pid
3echo;
4if [ -f ${PIDFILE} ] ; then
5 PID=`cat ${PIDFILE}`
6 nthreads=`ps -mp $PID | wc -l`
7 echo " Number of threads in wtp's CC process: $nthreads"
8else
9 echo " PID file (${PIDFILE}) does not exist."
10 echo " Either CC not running, or PID file deleted"
11fi
12echo