Add '.txt' extension to text files
@@ -116,16 +116,16 @@ fi
jmap -dump:live,format=b,file=${HEAP_DUMP_FILE} ${JVM_PID}
echo "Getting jmap information"
-jhsdb jmap --heap --pid ${JVM_PID} > ${OUTPUT_DIRECTORY}/jmap-output
+jhsdb jmap --heap --pid ${JVM_PID} > ${OUTPUT_DIRECTORY}/jmap-output.txt
echo "Getting jstat information"
-jstat -gcutil ${JVM_PID} > ${OUTPUT_DIRECTORY}/jstat-output
+jstat -gcutil ${JVM_PID} > ${OUTPUT_DIRECTORY}/jstat-output.txt
echo "Getting jstack information"
-jstack ${JVM_PID} > ${OUTPUT_DIRECTORY}/jstack-output
+jstack ${JVM_PID} > ${OUTPUT_DIRECTORY}/jstack-output.txt
echo "Getting pmap information"
-pmap -x ${JVM_PID} | sort -nk3 | tail -10 > ${OUTPUT_DIRECTORY}/pmap-output
+pmap -x ${JVM_PID} | sort -nk3 | tail -10 > ${OUTPUT_DIRECTORY}/pmap-output.txt
echo "Copying vespa logs"
cp ${VESPA_HOME}/logs/vespa/vespa.log ${OUTPUT_DIRECTORY}/vespa.log
