LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-06-2017, 01:44 PM   #1
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,237

Rep: Reputation: 1656Reputation: 1656Reputation: 1656Reputation: 1656Reputation: 1656Reputation: 1656Reputation: 1656Reputation: 1656Reputation: 1656Reputation: 1656Reputation: 1656
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
}

Last edited by szboardstretcher; 01-06-2017 at 01:45 PM.
 
Old 01-07-2017, 12:28 PM   #2
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-30
Posts: 5,290

Rep: Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916
Code:
uname -a -m -p
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ceph gathering diagnostic information ixion22600 Linux - Virtualization and Cloud 1 08-10-2015 04:45 AM
I need help gathering information to preform a compile. What information do I need? moonstroller Linux - Newbie 1 11-19-2012 04:22 PM
Apache Session information gathering programlight Linux - Server 3 10-23-2011 11:47 AM
Need help in some scripting related to router information gathering. kharerohit Linux - Networking 1 03-17-2006 10:22 AM
Information Gathering xathras Linux - Networking 4 06-28-2004 01:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration