lshw

New add-on as of Core Update 151.

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

Installation

lshw can be installed with the Pakfire web interface or via the console:

pakfire install lshw

Usage

There is no web interface for this Addon. To run this Addon open the client console or terminal and access the IPFire box via SSH.

To obtain a list of possible commands, options, and arguments:

lshw -h

The output is similar to this:

[root@ipfire ~]# lshw -h
Hardware Lister (lshw) - 2.25
usage: lshw [-format] [-options ...]
       lshw -version
    -version        print program version (2.25)

format can be
    -html           output hardware tree as HTML
    -xml            output hardware tree as XML
    -json           output hardware tree as a JSON object
    -short          output hardware paths
    -businfo        output bus information
. . .

Launch

To scan the system:

lshw -short

And the output is similar to this:

[root@ipfire ~]# lshw -short
H/W path           Device     Class          Description
========================================================
                              system         To be filled by O.E.M. (To be filled by O.E.M.)
/0                            bus            Aptio CRB
/0/0                          memory         64KiB BIOS
/0/28                         memory         4GiB System Memory
/0/28/0                       memory         4GiB DIMM DDR3 1600 MHz (0.6 ns)
/0/28/1                       memory         DIMM [empty]
/0/32                         memory         224KiB L1 cache
/0/33                         memory         2MiB L2 cache
/0/34                         processor      Intel(R) Celeron(R) CPU  J1900  @ 1.99GHz
/0/100                        bridge         Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register
/0/100/2                      display        Atom Processor Z36xxx/Z37xxx Series Graphics & Display
/0/100/13          scsi1      storage        Atom Processor E3800 Series SATA AHCI Controller
/0/100/13/0.0.0    /dev/sda   disk           64GB HFS064G3AMNB-220
/0/100/13/0.0.0/1  /dev/sda1  volume         128MiB EXT4 volume
/0/100/13/0.0.0/2  /dev/sda2  volume         32MiB Windows FAT volume
/0/100/13/0.0.0/3  /dev/sda3  volume         955MiB Linux swap volume
/0/100/13/0.0.0/4  /dev/sda4  volume         58GiB EXT4 volume
/0/100/1a                     generic        Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine
/0/100/1b                     multimedia     Atom Processor Z36xxx/Z37xxx Series High Definition Audio Controller
/0/100/1c                     bridge         Atom Processor E3800 Series PCI Express Root Port 1
/0/100/1c/0        green0     network        I211 Gigabit Network Connection
/0/100/1c.1                   bridge         Atom Processor E3800 Series PCI Express Root Port 2
/0/100/1c.1/0      blue0      network        I211 Gigabit Network Connection
. . .
/0/100/1d                     bus            Atom Processor Z36xxx/Z37xxx Series USB EHCI
/0/100/1f                     bridge         Atom Processor Z36xxx/Z37xxx Series Power Control Unit
/0/100/1f.3                   bus            Atom Processor E3800 Series SMBus Controller
/0/1                          system         PnP device PNP0b00
/0/2                          communication  PnP device PNP0501
/0/3                          system         PnP device PNP0c02
/0/4                          system         PnP device PNP0c02
/0/5                          input          PnP device PNP0303
/0/6                          input          PnP device PNP0f03
/0/7                          system         PnP device PNP0c02
/0/8                          system         PnP device PNP0c02
/0/9               scsi2      storage        
/0/9/0.0.0         /dev/sdb   disk           2TB Portable
/0/9/0.0.0/1       /dev/sdb1  volume         1863GiB EXT4 volume

 

Edit Page ‐ Yes, you can edit!

Older Revisions • October 28 at 2:11 am • Jon