copy_puppet_logs: get more informations
* to know RAM status, use 'free -m' and create free.txt * to know CPU informations, use 'cat /proc/cpuinfo' and create cpuinfo This will be useful when debugging VMs running OpenStack, and eventually detect services that consume too much CPU & RAM during Puppet OpenStack jobs. Change-Id: I033e8d42b430ee002e6ec3c3a589b23739b5b57c
This commit is contained in:
parent
483a9410e0
commit
a36840931f
@ -126,8 +126,10 @@ if [ `command -v rpm` ]; then
|
||||
rpm -qa > $LOG_DIR/rpm-qa.txt
|
||||
fi
|
||||
|
||||
# system status
|
||||
# system status & informations
|
||||
df -h > $LOG_DIR/df.txt
|
||||
free -m > $LOG_DIR/free.txt
|
||||
cat /proc/cpuinfo > $LOG_DIR/cpuinfo.txt
|
||||
ps -eo user,pid,ppid,lwp,%cpu,%mem,size,rss,cmd > $LOG_DIR/ps.txt
|
||||
|
||||
# Make sure jenkins can read all the logs and configs
|
||||
|
Loading…
x
Reference in New Issue
Block a user