Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, I would like to gather as much system information I can for my box so I can get a better understanding of what needs to be enabled in the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2010
    Posts
    1

    Collecting Hardware information for use in a Kernel Compile


    Hi,

    I would like to gather as much system information I can for my box so I can get a better understanding of what needs to be enabled in the kernel. Other than the lspci, lshw output, and knowledge of certain devices connected, does anyone have any other tips they could present me with? Unfortunately, I don't have access to the machine in interests manuals, and I know next to nothing about hardware.

    Thanks.

  2. #2
    Linux User
    Join Date
    Nov 2009
    Location
    France
    Posts
    292
    Code:
    hwinfo
    
    man hwinfo
    0 + 1 = 1 != 2 <> 3 != 4 ...
    Until the camel can pass though the eye of the needle.

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,748
    Quote Originally Posted by nmset View Post
    Code:
    hwinfo
    
    man hwinfo
    Unfortunately, not all systems have hwinfo, such as RHEL/CentOS, etc.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru
    Join Date
    Jul 2008
    Posts
    4,204
    I use inxi which can be pretty much installed into any distro. At least for me so far.
    I run it in Puppy, Ubuntu, and AntiX (comes as default in AntiX)

    INXI

    Pay special attention to

    as well as a good number of extra features which require having the script recommends installed on the system
    On the webpage. I needed to install extra recommends in Puppy Linux for glxinfo.

    Install is simple . If using Arch or Pardus Linux use the other wget command.

    Install Page


    Code:
    @biker:~$ inxi -h
    inxi supports the following options. You can combine them, or list them
    one by one: Examples: inxi -v4 -c6 OR inxi -dDc 6
    
    If you start inxi with no arguments, it will show the short form.
    The following options if used without -d or -v will show just that complete line:
    A,C,D,G,I,N,P,S - you can use these together to show just the lines you want to see.
    If you use them with a -v level (or -d), it will show the full output for that line 
    along with the output for the chosen verbosity level.
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Output Control Options:
    -A  Show Audio/sound card information.
    -c  Available color schemes. Scheme number is required.
        Supported schemes: 0-15 Example: inxi -c 11
    -C  Show full CPU output, including per CPU clockspeed.
    -d  Default output verbosity level, same as: inxi -v 1
    -D  Show full hard Disk info, not only model, ie: /dev/sda ST380817AS 80.0GB.
    -f  Show all cpu flags used, not just the short list. Not shown with -F to avoid spamming.
    -F  Show Full output for inxi. Does not show extra verbose options like -f -u -l -o -p or -t
    -G  Show Graphic card information (card, x type, resolution, glx renderer, version).
    -i  Show Wan IP address, and shows local interfaces (requires ifconfig network tool).
        Not shown with -F for user security reasons, you shouldn't paste your local/wan IP.
    -I  Show Information: processes, uptime, memory, irc client, inxi version.
    -l  Show partition labels. Default: short partition -P. For full -p output, use: -pl (or -plu).
    -N  Show Network card information.
    -o  Show unmounted partition information (includes UUID and LABEL if available).
        Shows file system type if you have file installed, if you are root OR if you have
        added to /etc/sudoers (sudo v. 1.7 or newer): <username> ALL = NOPASSWD: /usr/bin/file (sample)
    -p  Show full partition information (-P plus all other detected partitions).
    -P  Show Partition information (shows what -v 4 would show, but without extra data).
        Shows, if detected: / /boot /home /tmp /usr /var. Use -p to see all mounted partitions.
    -r  Show distro repository data. Currently supported repo types: APT; PACMAN; PISI; YUM.
    -s  Show sensors output (if sensors installed/configured): mobo/cpu/gpu temp; detected fan speeds.
        Gpu temp only for Fglrx/Nvidia drivers. Nvidia shows screen number for > 1 screens.
    -S  Show System information: host name, kernel, distro
    -t  Show processes. Requires extra options: c (cpu) m (memory) cm (cpu+memory). If followed by numbers 1-20,
        shows that number of processes for each type (default: 5; if in irc, max: 5): -t cm10
        Make sure to have no space between letters and numbers (-t cm10 -right, -t cm 10 -wrong).
    -u  Show partition UUIDs. Default: short partition -P. For full -p output, use: -pu (or -plu).
    -v  Script verbosity levels. Verbosity level number is required.
        Supported levels: 0-5 Example: inxi -v 4
        0 - short output, same as: inxi
        1 - basic verbose, same as: inxi -d
        2 - Also show networking card data
        3 - Also show hard disk names as detected.
        4 - Also show partition size/filled data for (if present):/, /home, /var/, /boot
        5 - For multicore systems, also shows: per core clock speeds; audio card; full disk data.
    -x  Show extra data: bogomips on Cpu; driver version (if available) for Network/Audio;
        for network, audio cards, shows PCI Bus ID number also;
        direct rendering status for Graphics (in X). Only works with verbose or line output;
        shows (for single gpu, nvidia driver) screen number gpu is running on.
        Shows hdd temp with disk data if you have hddtemp installed, if you are root OR if you have
        added to /etc/sudoers (sudo v. 1.7 or newer): <username> ALL = NOPASSWD: /usr/sbin/hddtemp (sample)
        For -t, adds memory use output to cpu (-tx c), and cpu use to memory (-tx m).
    
    Additional Options:
    -h - this help menu.
    -U  Auto-update script. Note: if you installed as root, you
        must be root to update, otherwise user is fine.
    -V  inxi version information. Prints information then exits.
    -%  Overrides defective or corrupted data.
    -@  Triggers debugger output. Requires debugging level 1-10 (8-10 - logging).
        8 - basic logging; 9 - full file/sys info logging; 10 - color logging.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •