Merge "Debug 'Cannot allocate memory'"

This commit is contained in:
Jenkins
2014-08-01 16:22:01 +00:00
committed by Gerrit Code Review

View File

@@ -678,6 +678,9 @@ function cleanup_host {
find $BASE/logs/rabbitmq -type f -exec mv '{}' '{}'.txt \;
fi
# final memory usage and process list
ps -eo user,pid,ppid,lwp,%cpu,%mem,size,rss,cmd > $BASE/logs/ps.txt
# Compress all text logs
sudo find $BASE/logs -iname '*.txt' -execdir gzip -9 {} \+
sudo find $BASE/logs -iname '*.dat' -execdir gzip -9 {} \+