From 0ee17d238c2b51a95bd6301c06930674d9d4d823 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Wed, 4 Jun 2014 18:36:26 -0400 Subject: [PATCH] capture cpu information when we setup_host some very odd results are coming back from hpcloud 1.1, would like an actual cpu dump as part of the run. Change-Id: I4f387a4e6cdf8bbd9334d01fe262e36632b859ac --- functions.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/functions.sh b/functions.sh index d350fa6e..707542d5 100644 --- a/functions.sh +++ b/functions.sh @@ -327,6 +327,10 @@ function setup_host { local xtrace=$(set +o | grep xtrace) set -o xtrace + # capture # of cpus + echo "NProc things we have $(nproc) cpus" + cat /proc/cpuinfo + # This is necessary to keep sudo from complaining fix_etc_hosts @@ -545,7 +549,7 @@ function cleanup_host { # caught up which aren't really text, don't worry about that) find $BASE/logs/sudoers.d $BASE/logs/etc -type f -exec mv '{}' '{}'.txt \; - # rabbitmq + # rabbitmq if [ -f $BASE/logs/rabbitmq/ ]; then find $BASE/logs/rabbitmq -type f -exec mv '{}' '{}'.txt \; fi