core-extra/scripts/perf/perflogstop.sh
2013-08-29 14:21:13 +00:00

11 lines
331 B
Bash

#!/bin/sh
# (c)2010-2012 the Boeing Company
# author: Yueli Yang <yueli.yang@boeing.com>
#
# terminate core perfromance logging process
perfproc=` ps aux | grep perflogserver | grep python | awk {'print $2'} `
if [ ! $perfproc = "" ]; then
echo "terminating core performance log process $perfproc"
kill -9 $perfproc
fi