Last active
November 17, 2019 16:39
-
-
Save tuffacton/28bde939c034d8d3ce45a42067d48ab1 to your computer and use it in GitHub Desktop.
An accessible and comprehensive troubleshooting script, iteratively added by the community, that has clear & transparent steps using only baked-in linux tools.
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
| #!/bin/bash | |
| echo "Welcome to the troubleshooting script!" | |
| echo "Every item produced by this script will be pushed to a file called 'ts_session.txt'" | |
| echo "We will narrate this script as it proceeds, you can transparently see every action it takes." | |
| echo "First we want to know how much RAM your VM has:" | |
| sleep 4 | |
| echo "RAM information" >> ts_session.txt | |
| cat /proc/meminfo | head -n 1 >> ts_session.txt | |
| echo "Next we will get some CPU information:" | |
| sleep 3 | |
| echo "CPU Information:" >> ts_session.txt | |
| cat /proc/cpuinfo' | grep 'processor\|model name' >> ts_session.txt | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment