Created
May 16, 2018 14:09
-
-
Save ludenus/9c26763b41d9b1c0629dce8a84649e95 to your computer and use it in GitHub Desktop.
basic host info
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sh 'env|sort' | |
sh 'set +e; set -x; uname -a; whoami; hostname; ip addr show; mvn -version; df -h; free -m; cat /proc/cpuinfo; docker ps -a; docker images; pwd; ls -pilaF; set +x;' | |
sh '''ps aux | awk '{print $2, $4, $11, $0}' | sort -k2rn | head -n 20''' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment