cleanup for files in scripts/perf

This commit is contained in:
bharnden 2018-10-12 10:13:02 -07:00
parent 5c7f9b7dc4
commit b81cbf2a86
8 changed files with 14 additions and 12 deletions

2
scripts/perf/perflogstop.sh Normal file → Executable file
View file

@ -4,7 +4,7 @@
#
# terminate core perfromance logging process
perfproc=` ps aux | grep perflogserver | grep python | awk {'print $2'} `
perfproc=$(ps aux | grep perflogserver | grep python | awk {'print $2'})
if [ ! $perfproc = "" ]; then
echo "terminating core performance log process $perfproc"
kill -9 $perfproc