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

4
scripts/perf/perflogstart.sh Normal file → Executable file
View file

@ -4,7 +4,7 @@
#
# start core performance logging and collect output to file
# /tmp/pycore.nnnn/perf<sessionid>.log
HOOKS_DIR=`dirname $0`
HOOKS_DIR=$(dirname $0)
sid=` pwd | awk -F / {'print $3'} | awk -F . {'print $2'} `
sid=$(pwd | awk -F / {'print $3'} | awk -F . {'print $2'})
python $HOOKS_DIR/perflogserver.py -t -a -c /etc/core/perflogserver.conf -s $sid > perf$sid.log &