environment_info.sh 260 B

12345678910111213141516171819
  1. #!/bin/bash
  2. date -u --rfc-3339=seconds
  3. echo
  4. top -b -n1 -w240
  5. echo
  6. ps aux --width 240
  7. echo
  8. free -m
  9. echo
  10. mount
  11. echo
  12. df -h
  13. echo
  14. echo "Last 100 lines from kernel log"
  15. dmesg | tail -n 100
  16. echo
  17. echo "Last 1000 lines from system log (journalctl)"
  18. journalctl -n 1000