From 1ca06d9eea680c7b60af6836cb9887b2814f42e5 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Tue, 30 Jan 2018 11:53:09 -0800 Subject: [PATCH] HBASE-19899 Dump ulimit -a, fd count, and free output at end of build into system dir --- dev-support/gather_machine_environment.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dev-support/gather_machine_environment.sh b/dev-support/gather_machine_environment.sh index 589dffe9bf6..db1e74be1d7 100755 --- a/dev-support/gather_machine_environment.sh +++ b/dev-support/gather_machine_environment.sh @@ -47,5 +47,8 @@ ps -Aww >"${output}/ps-Aww" 2>&1 || true ifconfig -a >"${output}/ifconfig-a" 2>&1 || true lsblk -ta >"${output}/lsblk-ta" 2>&1 || true lsblk -fa >"${output}/lsblk-fa" 2>&1 || true -ulimit -l >"${output}/ulimit-l" 2>&1 || true +ulimit -a >"${output}/ulimit-a" 2>&1 || true uptime >"${output}/uptime" 2>&1 || true +free -h >"${output}/free -h" 2>&1 || true +lsof|wc -l >"${output}/fd-count" 2>&1 || true +