core-extra/scripts/perf/perflogstop.sh

12 lines
330 B
Bash
Raw Normal View History

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