You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by gr...@apache.org on 2017/06/25 11:12:21 UTC
flink git commit: [FLINK-6999] [build] Print TravisCI CPU, memory,
and filesystem info
Repository: flink
Updated Branches:
refs/heads/master 1ae4ac28b -> a13a98f65
[FLINK-6999] [build] Print TravisCI CPU, memory, and filesystem info
This closes #4177
Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/a13a98f6
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/a13a98f6
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/a13a98f6
Branch: refs/heads/master
Commit: a13a98f6570fb8648e3780e90407c976178aff7d
Parents: 1ae4ac2
Author: Greg Hogan <co...@greghogan.com>
Authored: Sat Jun 24 09:05:12 2017 -0400
Committer: Greg Hogan <co...@greghogan.com>
Committed: Sun Jun 25 07:09:33 2017 -0400
----------------------------------------------------------------------
tools/travis_mvn_watchdog.sh | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flink/blob/a13a98f6/tools/travis_mvn_watchdog.sh
----------------------------------------------------------------------
diff --git a/tools/travis_mvn_watchdog.sh b/tools/travis_mvn_watchdog.sh
index d747f91..3f59cdf 100755
--- a/tools/travis_mvn_watchdog.sh
+++ b/tools/travis_mvn_watchdog.sh
@@ -195,6 +195,25 @@ WD_PID=$!
echo "STARTED watchdog (${WD_PID})."
+
+# Print and fold CPU, memory, and filesystem info
+FOLD_ESCAPE="\x0d\x1b"
+COLOR_ON="\x5b\x30\x4b\x1b\x5b\x33\x33\x3b\x31\x6d"
+COLOR_OFF="\x1b\x5b\x30\x6d"
+
+echo -e "travis_fold:start:cpu_info${FOLD_ESCAPE}${COLOR_ON}CPU information${COLOR_OFF}"
+lscpu
+echo -en "travis_fold:end:cpu_info${FOLD_ESCAPE}"
+
+echo -e "travis_fold:start:mem_info${FOLD_ESCAPE}${COLOR_ON}Memory information${COLOR_OFF}"
+cat /proc/meminfo
+echo -en "travis_fold:end:mem_info${FOLD_ESCAPE}"
+
+echo -e "travis_fold:start:disk_info${FOLD_ESCAPE}${COLOR_ON}Disk information${COLOR_OFF}"
+df -hH
+echo -en "travis_fold:end:disk_info${FOLD_ESCAPE}"
+
+
# Make sure to be in project root
cd $HERE/../