flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject flink git commit: [FLINK-6999] [build] Print TravisCI CPU, memory, and filesystem info
Date Sun, 25 Jun 2017 11:12:21 GMT
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 <code@greghogan.com>
Authored: Sat Jun 24 09:05:12 2017 -0400
Committer: Greg Hogan <code@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/../
 


Mime
View raw message