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.
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





Comment