Skip to content

Instantly share code, notes, and snippets.

@ludenus
Created May 16, 2018 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ludenus/9c26763b41d9b1c0629dce8a84649e95 to your computer and use it in GitHub Desktop.
Save ludenus/9c26763b41d9b1c0629dce8a84649e95 to your computer and use it in GitHub Desktop.
basic host info
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