cleanup for files in scripts/perf
This commit is contained in:
parent
5c7f9b7dc4
commit
b81cbf2a86
8 changed files with 14 additions and 12 deletions
4
scripts/perf/perflogstart.sh
Normal file → Executable file
4
scripts/perf/perflogstart.sh
Normal file → Executable 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 &
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue