LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ldebug: Ideas for gathering general information (https://www.linuxquestions.org/questions/linux-software-2/ldebug-ideas-for-gathering-general-information-4175596931/)

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
}


schneidz 01-07-2017 12:28 PM

Code:

uname -a -m -p


All times are GMT -5. The time now is 09:48 AM.