szboardstretcher |
01-06-2017 01:44 PM |
ldebug: Ideas for gathering general information
I have written a script called 'ldebug' here: https://github.com/boardstretcher/ldebug
Quote:
Written as a simple bash script, easy to read, easy to understand what it is doing and how it is doing it. A fast way to gather information about your system in a readable format fit for sharing on Forums, IRC and Pastebins.
|
This is my 'general information' gathering function. What else would you consider valuable information to gather here?
Code:
get_general(){
# general system information
cat /proc/version
free -m
vmstat
grep '^proc\|^model\|^cpu' /proc/cpuinfo
cat /proc/loadavg
}
|