blob: 0feb2c89af4c8562e7de969cd6a5a10c02e1e36e [file] [log] [blame]
david_williams51256372010-04-20 21:04:25 +00001#!/usr/bin/env bash
david_williams392e6272008-12-03 03:15:52 +00002PIDFILE=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