MT#7109 use profile and version in the mem files

mr3.3.1
Victor Seva 12 years ago
parent 73fd5c7797
commit 2d366116dd

@ -70,7 +70,8 @@ rm -rf ${LOG_DIR}
mkdir -p ${MLOG_DIR}
echo "$(date) - Initial mem stats"
${BIN_DIR}/mem_stats.py --private_file=${MLOG_DIR}/initial_pvm.cvs \
VERSION="${PROFILE}_$(cat /etc/ngcp_version | cut -f1 -d' ')_"
${BIN_DIR}/mem_stats.py --private_file=${MLOG_DIR}/${VERSION}initial_pvm.cvs \
--share_file=${MLOG_DIR}/initial_shm.cvs
for t in $(find ${BASE_DIR}/scenarios/ -depth -maxdepth 1 -mindepth 1 -type d | grep -v templates | sort); do
@ -83,7 +84,7 @@ for t in $(find ${BASE_DIR}/scenarios/ -depth -maxdepth 1 -mindepth 1 -type d |
done
echo "$(date) - Final mem stats"
${BIN_DIR}/mem_stats.py --private_file=${MLOG_DIR}/final_pvm.cvs \
${BIN_DIR}/mem_stats.py --private_file=${MLOG_DIR}/${VERSION}final_pvm.cvs \
--share_file=${MLOG_DIR}/final_shm.cvs
if [ -z $SKIP ]; then

Loading…
Cancel
Save