Announcement

Collapse
No announcement yet.

inxi - a good application for getting hardware information

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    inxi - a good application for getting hardware information

    I just re-discovered a command line application for getting hardware information and thought I would share it in case someone does not know about it.
    The name of the program is "inxi", there is a good intro here.

    Basically you can get any hardware info and format it with color And unlike most of the gui apps you can just pipe the contents to a text file.

    See below for example of the base system listing and then the hard drive info, the -c option and the number following it seem to change the format color scheme. Try changing the number to 4,5,6 or whatever. Options appear to stackable.


    Code:
    lee@lee-asrock:~$ inxi -c 5 -b
    System:    Host: lee-asrock Kernel: 3.16.0-30-generic x86_64 (64 bit) Desktop: KDE 4.14.2 
               Distro: Ubuntu 14.10 utopic 
    Machine:   Mobo: ASRock model: Z77 Extreme4-M Bios: American Megatrends v: P1.50 date: 12/10/2012
    CPU:       Quad core Intel Core i5-3570K (-MCP-) clocked at 1953 MHz                                                
    Graphics:  Card-1: Intel Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller                                 
               Card-2: NVIDIA GM107 [GeForce GTX 750 Ti]                                                                
               Display Server: X.Org 1.16.0 driver: nvidia Resolution: 1920x1200@60.0hz                                 
               GLX Renderer: GeForce GTX 750 Ti/PCIe/SSE2 GLX Version: 4.4.0 NVIDIA 340.65                              
    Network:   Card: Intel 82572EI Gigabit Ethernet Controller (Copper) driver: e1000e                                  
    Drives:    HDD Total Size: 2280.5GB (12.1% used)                                                                    
    Info:      Processes: 250 Uptime: 1 day Memory: 6166.1/15935.0MB Client: Shell (bash) inxi: 2.1.28
    Code:
    lee@lee-asrock:~$ inxi -c 5 -p -o -D
    Drives:    HDD Total Size: 2280.5GB (12.1% used) ID-1: /dev/sda model: Hitachi_HDS5C302 size: 2000.4GB
               ID-2: /dev/sdb model: OCZ size: 120.0GB ID-3: /dev/sdc model: KINGSTON_SS050S2 size: 32.0GB
               ID-4: /dev/sdd model: SanDisk_SD6SB1M1 size: 128.0GB
    Partition: ID-1: / size: 102G used: 35G (36%) fs: ext4 dev: /dev/sdd2 
               ID-2: /home/lee/VirtualBox VMs size: 110G used: 43G (42%) fs: ext4 dev: /dev/sdb1 
               ID-3: /boot/efi size: 511M used: 3.4M (1%) fs: vfat dev: /dev/sdd1 
               ID-4: /home/lee/media size: 726G used: 121G (17%) fs: ext4 dev: /dev/sda6 
               ID-5: /home/lee/backup size: 689G used: 45G (7%) fs: ext4 dev: /dev/sda1 
               ID-6: swap-1 size: 17.06GB used: 7.63GB (45%) fs: swap dev: /dev/sdd3 
    Unmounted: ID-1: /dev/sda5 size: 23.62G fs: swap label: N/A uuid: 33d79d5e-9e97-4e2b-bd6b-e6ff2065a08c 
               ID-2: /dev/sda7 size: 433.08G fs: ext4 label: VM uuid: 4e9da6d9-961f-49da-b35a-a2950559571e 
               ID-3: /dev/sdc1 size: 32.02G label: N/A uuid: N/A 
    lee@lee-asrock:~$ inxi -c 5 -p -o -D >> /home/lee/Desktop/harddisk.txt

    #2
    ya ,,,,we like "inxi using it for some time now and yes options are stackable

    Code:
    vinny@vinny-Bonobo-Extreme:~$ inxi -Fxxxz
    System:    Host: vinny-Bonobo-Extreme Kernel: 3.13.0-45-generic x86_64 (64 bit, gcc: 4.8.2) 
               Desktop: KDE 4.13.3 (Qt 4.8.6) info: plasma-desktop dm: lightdm Distro: Ubuntu 14.04 trusty
    Machine:   System: System76 (portable) product: Bonobo Extreme version: bonx8 Chassis: type: 9
               Mobo: System76 model: Bonobo Extreme version: bonx8 Bios: American Megatrends version: 4.6.5 date: 04/15/2014                                                  
    CPU:       Quad core Intel Core i7-4910MQ CPU (-HT-MCP-) cache: 8192 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 23145.4                               
               Clock Speeds: 1: 1200.00 MHz 2: 800.00 MHz 3: 800.00 MHz 4: 800.00 MHz 5: 800.00 MHz 6: 800.00 MHz 7: 800.00 MHz 8: 800.00 MHz                                 
    Graphics:  Card: NVIDIA GK104M [GeForce GTX 860M] bus-ID: 01:00.0 chip-ID: 10de:119a                                                                                      
               X.Org: 1.15.1 driver: nvidia Resolution: 1920x1080@60.0hz                                                                                                      
               GLX Renderer: GeForce GTX 860M/PCIe/SSE2 GLX Version: 4.4.0 NVIDIA 331.113 Direct Rendering: Yes                                                               
    Audio:     Card-1: Intel 8 Series/C220 Series High Definition Audio Controller                                                                                            
               driver: snd_hda_intel bus-ID: 00:1b.0 chip-ID: 8086:8c20                                                                                                       
               Card-2: NVIDIA GK104 HDMI Audio Controller driver: snd_hda_intel bus-ID: 01:00.1 chip-ID: 10de:0e0a                                                            
               Sound: Advanced Linux Sound Architecture ver: k3.13.0-45-generic                                                                                               
    Network:   Card-1: Intel Wireless 3160 driver: iwlwifi ver: in-tree: bus-ID: 04:00.0 chip-ID: 8086:08b3                                                                   
               IF: wlan0 state: up mac: <filter>                                                                                                                              
               Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller                                                                                      
               driver: r8169 ver: 2.3LK-NAPI port: d000 bus-ID: 03:00.2 chip-ID: 10ec:8168                                                                                    
               IF: eth0 state: down mac: <filter>                                                                                                                             
    Drives:    HDD Total Size: 1500.3GB (8.5% used)                                                                                                                           
               1: id: /dev/sda model: HGST_HTS725050A7 size: 500.1GB serial: TF0520WJ19KNBV                                                                                   
               2: id: /dev/sdb model: HGST_HTS721010A9 size: 1000.2GB serial: JR10006P0JX3LF                                                                                  
    Partition: ID: / size: 52G used: 30G (62%) fs: ext4 ID: swap-1 size: 4.29GB used: 0.00GB (0%) fs: swap                                                                    
    RAID:      System: supported: N/A                                                                                                                                         
               No RAID devices detected - /proc/mdstat and md_mod kernel raid module present                                                                                  
               Unused Devices: none
    Sensors:   System Temperatures: cpu: 46.0C mobo: N/A gpu: 0.0:46C 
               Fan Speeds (in rpm): cpu: N/A 
    Info:      Processes: 241 Uptime: 2:06 Memory: 1284.6/15999.7MB Runlevel: 2 Gcc sys: 4.8.2 
               Client: Shell (bash 4.3.11 running in yakuake) inxi: 1.9.17
    Code:
    vinny@vinny-Bonobo-Extreme:~$ inxi -w
    Weather:   Conditions: 36 F (2 C) - Clear Time: February 2, 6:12 PM EST
    Code:
    vinny@vinny-Bonobo-Extreme:~$ inxi -wxxx
    Weather:   Conditions: 36 F (2 C) - Clear Wind: From the NW at 5 MPH Humidity: 45%
               Pressure: 29.95 in (1014 mb) Wind Chill: 33 F (0 C) 
               Location: Lexington NC (USA) Altitude: 245 ft 
               Time: February 2, 6:13 PM EST (America/New_York) Observation Time: February 2, 5:55 PM EST
    -x for extra info (if available and works with all options) up to 3 of them for more and more



    VINNY
    i7 4core HT 8MB L3 2.9GHz
    16GB RAM
    Nvidia GTX 860M 4GB RAM 1152 cuda cores

    Comment


      #3
      What? weather too, cool.

      Comment


        #4
        Originally posted by anika200 View Post
        What? weather too, cool.
        Code:
        man inxi
        ,,,,,,,,,,,read,,,,,,read,,,,read,,,,,,,,,,,,,,,,, ,,,,, it's fundamental


        VINNY
        i7 4core HT 8MB L3 2.9GHz
        16GB RAM
        Nvidia GTX 860M 4GB RAM 1152 cuda cores

        Comment

        Users Viewing This Topic

        Collapse

        There are 0 users viewing this topic.

        Working...
        X