Getting Hardware/Software specifications in Linux mint / Ubuntu

There are plenty of tools available to view the software and hardware specifications of your Linux system. The tools mentioned in this post comes by default in Linux mint / Ubuntu distributions. If they weren’t installed, you can manually install them the package manager or software center.

1. lshw

lshw (Hardware Lister) is a small tool to provide detailed information on the hardware configuration of the machine. It can report exact memory configuration, firmware version, mainboard configuration, CPU version and speed, cache configuration, bus speed etc.
Information can be output in plain text, XML or HTML.

It currently supports DMI (x86 and EFI only), Open Firmware device tree (PowerPC only), PCI/AGP, ISA PnP (x86), CPUID (x86), IDE/ATA/ATAPI, PCMCIA (only tested on x86), USB and SCSI.lshw comes with Linux mint/Ubuntu by default. If it isn’t installed in your system, install it using the command:

sudo apt-get install lshw lshw-gtk

Screenshots of lshw:

The detailed output of the above command is:

sudo lshw

sk@sk ~ $ sudo lshw
sk
description: Notebook
product: HP 550 (FS358AA#ACJ)
vendor: Hewlett-Packard
version: F.02
serial: CNU83905B7
width: 64 bits
capabilities: smbios-2.4 dmi-2.4 vsyscall32
configuration: boot=normal chassis=notebook family=103C_5336AN sku=FS358AA#ACJ uuid=E3B5F591-8F15-E011-05A4-6D9910359D29
*-core
description: Motherboard
product: 3618
vendor: Hewlett-Packard
physical id: 0
version: KBC Version 12.00
*-firmware
description: BIOS
vendor: Hewlett-Packard
physical id: 0
version: 68MVU Ver. F.02
date: 08/20/2008
size: 128KiB
capacity: 960KiB
capabilities: pci pcmcia pnp upgrade shadowing cdboot bootselect edd int13floppy720 int5printscreen int9keyboard int14serial int17printer acpi usb ls120boot smartbattery biosbootspecification netboot
*-cpu
description: CPU
product: Intel(R) Core(TM)2 Duo CPU T5470 @ 1.60GHz
vendor: Intel Corp.
physical id: 4
bus info: cpu@0
version: Intel(R) Core(TM)2 Duo CPU T5470 @ 1.60GHz
slot: U10
size: 800MHz
capacity: 800MHz
width: 64 bits
clock: 200MHz
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx x86-64 constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm ida dtherm cpufreq
*-cache:0
description: L1 cache
physical id: 5
slot: Internal L1 Cache
size: 64KiB
capacity: 64KiB
capabilities: burst internal write-back unified
*-cache:1
description: L2 cache
physical id: 6
slot: Internal L2 Cache
size: 2MiB
capacity: 2MiB
capabilities: burst external write-back unified
*-memory
description: System Memory
physical id: a
slot: System board or motherboard
size: 2GiB
*-bank:0
description: SODIMM DDR2 Synchronous 667 MHz (1.5 ns)
product: M4 70T2953EZ3-CE6
vendor: Samsung
physical id: 0
serial: 2934C18D
slot: DIMM #1
size: 1GiB
width: 64 bits
clock: 667MHz (1.5ns)
*-bank:1
description: SODIMM DDR2 Synchronous 667 MHz (1.5 ns)
product: 8HTF12864HDY-667E1
vendor: Micron Technology
physical id: 1
serial: E31D5C34
slot: DIMM #2
size: 1GiB
width: 64 bits
clock: 667MHz (1.5ns)
*-pci
description: Host bridge
product: Mobile GME965/GLE960 Memory Controller Hub
vendor: Intel Corporation
physical id: 100
bus info: pci@0000:00:00.0
version: 0c
width: 32 bits
clock: 33MHz
configuration: driver=agpgart-intel
resources: irq:0
*-display:0
description: VGA compatible controller
product: Mobile GME965/GLE960 Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 0c
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:45 memory:e4400000-e44fffff memory:d0000000-dfffffff ioport:4000(size=8)
*-display:1 UNCLAIMED
description: Display controller
product: Mobile GME965/GLE960 Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2.1
bus info: pci@0000:00:02.1
version: 0c
width: 64 bits
clock: 33MHz
capabilities: pm bus_master cap_list
configuration: latency=0
resources: memory:e4500000-e45fffff
*-network
description: Ethernet interface
product: 82562GT 10/100 Network Connection
vendor: Intel Corporation
physical id: 19
bus info: pci@0000:00:19.0
logical name: eth0
version: 03
serial: 00:22:64:4f:e9:3a
size: 100Mbit/s
capacity: 100Mbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=2.0.0-k duplex=full firmware=1.1-2 ip=192.168.1.143 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:44 memory:e4600000-e461ffff memory:e4620000-e4620fff ioport:4020(size=32)
*-usb:0
description: USB controller
product: 82801H (ICH8 Family) USB UHCI Controller #4
vendor: Intel Corporation
physical id: 1a
bus info: pci@0000:00:1a.0
version: 03
width: 32 bits
clock: 33MHz
capabilities: uhci bus_master
configuration: driver=uhci_hcd latency=0
resources: irq:16 ioport:4040(size=32)
*-usb:1
description: USB controller
product: 82801H (ICH8 Family) USB2 EHCI Controller #2
vendor: Intel Corporation
physical id: 1a.7
bus info: pci@0000:00:1a.7
version: 03
width: 32 bits
clock: 33MHz
capabilities: pm debug ehci bus_master cap_list
configuration: driver=ehci_hcd latency=0
resources: irq:18 memory:e4621000-e46213ff
*-multimedia
description: Audio device
product: 82801H (ICH8 Family) HD Audio Controller
vendor: Intel Corporation
physical id: 1b
bus info: pci@0000:00:1b.0
version: 03
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=snd_hda_intel latency=0
resources: irq:47 memory:e4624000-e4627fff
*-pci:0
description: PCI bridge
product: 82801H (ICH8 Family) PCI Express Port 1
vendor: Intel Corporation
physical id: 1c
bus info: pci@0000:00:1c.0
version: 03
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:40
*-pci:1
description: PCI bridge
product: 82801H (ICH8 Family) PCI Express Port 2
vendor: Intel Corporation
physical id: 1c.1
bus info: pci@0000:00:1c.1
version: 03
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:41 ioport:5000(size=4096) memory:e4000000-e40fffff ioport:80000000(size=2097152)
*-network DISABLED
description: Wireless interface
product: PRO/Wireless 4965 AG or AGN [Kedron] Network Connection
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:10:00.0
logical name: wlan0
version: 61
serial: 00:21:5c:80:e1:a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwl4965 driverversion=3.5.0-19-generic firmware=228.61.2.24 latency=0 link=no multicast=yes wireless=IEEE 802.11abgn
resources: irq:46 memory:e4000000-e4001fff
*-pci:2
description: PCI bridge
product: 82801H (ICH8 Family) PCI Express Port 5
vendor: Intel Corporation
physical id: 1c.4
bus info: pci@0000:00:1c.4
version: 03
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:42 ioport:2000(size=8192) memory:e0000000-e3ffffff ioport:80200000(size=2097152)
*-usb:2
description: USB controller
product: 82801H (ICH8 Family) USB UHCI Controller #1
vendor: Intel Corporation
physical id: 1d
bus info: pci@0000:00:1d.0
version: 03
width: 32 bits
clock: 33MHz
capabilities: uhci bus_master
configuration: driver=uhci_hcd latency=0
resources: irq:20 ioport:4060(size=32)
*-usb:3
description: USB controller
product: 82801H (ICH8 Family) USB UHCI Controller #2
vendor: Intel Corporation
physical id: 1d.1
bus info: pci@0000:00:1d.1
version: 03
width: 32 bits
clock: 33MHz
capabilities: uhci bus_master
configuration: driver=uhci_hcd latency=0
resources: irq:21 ioport:4080(size=32)
*-usb:4
description: USB controller
product: 82801H (ICH8 Family) USB UHCI Controller #3
vendor: Intel Corporation
physical id: 1d.2
bus info: pci@0000:00:1d.2
version: 03
width: 32 bits
clock: 33MHz
capabilities: uhci bus_master
configuration: driver=uhci_hcd latency=0
resources: irq:18 ioport:40a0(size=32)
*-usb:5
description: USB controller
product: 82801H (ICH8 Family) USB2 EHCI Controller #1
vendor: Intel Corporation
physical id: 1d.7
bus info: pci@0000:00:1d.7
version: 03
width: 32 bits
clock: 33MHz
capabilities: pm debug ehci bus_master cap_list
configuration: driver=ehci_hcd latency=0
resources: irq:20 memory:e4628000-e46283ff
*-pci:3
description: PCI bridge
product: 82801 Mobile PCI Bridge
vendor: Intel Corporation
physical id: 1e
bus info: pci@0000:00:1e.0
version: f3
width: 32 bits
clock: 33MHz
capabilities: pci subtractive_decode bus_master cap_list
*-isa
description: ISA bridge
product: 82801HM (ICH8M) LPC Interface Controller
vendor: Intel Corporation
physical id: 1f
bus info: pci@0000:00:1f.0
version: 03
width: 32 bits
clock: 33MHz
capabilities: isa bus_master cap_list
configuration: latency=0
*-ide
description: IDE interface
product: 82801HM/HEM (ICH8M/ICH8M-E) IDE Controller
vendor: Intel Corporation
physical id: 1f.1
bus info: pci@0000:00:1f.1
version: 03
width: 32 bits
clock: 33MHz
capabilities: ide bus_master
configuration: driver=ata_piix latency=0
resources: irq:16 ioport:1f0(size=8) ioport:3f6 ioport:170(size=8) ioport:376 ioport:40c0(size=16)
*-storage
description: SATA controller
product: 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode]
vendor: Intel Corporation
physical id: 1f.2
bus info: pci@0000:00:1f.2
version: 03
width: 32 bits
clock: 66MHz
capabilities: storage msi pm ahci_1.0 bus_master cap_list
configuration: driver=ahci latency=0
resources: irq:43 ioport:13f0(size=8) ioport:15f4(size=4) ioport:1370(size=8) ioport:1574(size=4) ioport:4100(size=32) memory:e4629000-e46297ff
*-scsi:0
physical id: 1
logical name: scsi0
capabilities: emulated
*-disk
description: ATA Disk
product: Hitachi HTS54323
vendor: Hitachi
physical id: 0.0.0
bus info: scsi@0:0.0.0
logical name: /dev/sda
version: FB4O
serial: 090212FB0400LEDGVJJA
size: 298GiB (320GB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 sectorsize=512 signature=0001e962
*-volume:0
description: EXT4 volume
vendor: Linux
physical id: 1
bus info: scsi@0:0.0.0,1
logical name: /dev/sda1
logical name: /
version: 1.0
serial: 4bc155f2-ad85-456b-8bf2-1572648dcd76
size: 296GiB
capacity: 296GiB
capabilities: primary bootable journaled extended_attributes large_files huge_files dir_nlink recover extents ext4 ext2 initialized
configuration: created=2012-12-05 18:37:54 filesystem=ext4 lastmountpoint=/ modified=2013-01-08 10:26:49 mount.fstype=ext4 mount.options=rw,relatime,errors=remount-ro,data=ordered mounted=2013-01-08 10:26:50 state=mounted
*-volume:1
description: Extended partition
physical id: 2
bus info: scsi@0:0.0.0,2
logical name: /dev/sda2
size: 2038MiB
capacity: 2038MiB
capabilities: primary extended partitioned partitioned:extended
*-logicalvolume
description: Linux swap / Solaris partition
physical id: 5
logical name: /dev/sda5
capacity: 2038MiB
capabilities: nofs
*-scsi:1
physical id: 2
logical name: scsi3
capabilities: emulated
*-cdrom
description: DVD-RAM writer
product: DVDRAM GSA-T40L
vendor: HL-DT-ST
physical id: 0.0.0
bus info: scsi@3:0.0.0
logical name: /dev/cdrom
logical name: /dev/cdrw
logical name: /dev/dvd
logical name: /dev/dvdrw
logical name: /dev/sr0
version: KC07
capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
configuration: ansiversion=5 status=nodisc
*-battery
description: Lithium Ion Battery
product: HP
vendor: Hewlett-Packard
physical id: 1
version: 09/16/2008
serial: 03291
slot: Primary
capacity: 44000mWh
configuration: voltage=10.8V

GUI Version of lshw tool:

lshw gui window can be opened either using Terminal or directly from the Menu as shown below:

Some screenshots of lshw-gtk:

2. Hardinfo

Hardinfo will get you the both hardware and software details of your system which isn’t available in the lshw.
HardInfo can gather information about your system’s hardware and operating system, perform benchmarks, and generate printable reports either in HTML or in plain text formats.

If Hardinfo isn’t installed in Linux mint / Ubuntu, install it using the command:

sudo apt-get install hardinfo

Open Hardinfo tool:

You can open Hardinfo tool either from Terminal or from Menu:

Some screenshots of Hardinfo:

3. Sysinfo

Sysinfo is an alternative to HardInfo and lshw-gtk and it can display the following information:
  • System details such as distribution release, versions of GNOME, kernel, gcc and Xorg and hostname.
  • CPU details like vendor identification, model name, frequency, L2 cache, model numbers and flags.
  • Memory details such as total system RAM, free memory, swap space total and free, cached, active/inactive memory.
  • Storage Controllers such as IDE interface, all IDE devices, SCSI devices.
  • Hardware details such as motherboard, graphic card, sound card and network devices.

Install sysinfo using the command:

sudo apt-get install sysinfo

Launch sysinfo either from Terminal or from Menu:

or

Some screenshots of Sysinfo:

This tools will provide the actual information of your system only if they weren’t installed in Virtual environments like VirtualBox and VMWare etc. That’s it.

Have a good day!!!