39.1 System Information

20210615 Hardware specifications are also available through wajig, as shown below. The hardinfo command is also available and provides a comprehensive graphical interface to every aspect of the system.

$ wajig sysinfo
Hostname:   olive
OS:         Ubuntu 20.04.2 LTS (Focal Fossa) 5.4.0-70-generic
Computer:   Dell Inc. XPS 13 9380/0KTW76, BIOS 1.11.0 07/06/2020
Processor:  Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz x 8 = 3999.93 bogomips
Video:      Intel Corporation UHD Graphics 620 (Whiskey Lake) 256M
Audio:      Intel Corporation Cannon Point-LP High Definition Audio Controller (rev 30)
Memory:     15GB RAM
IP:, (local) (external)
Uptime:     up 3 weeks, 2 days, 12 hours, 40 minutes since 2021-04-01 07:57:48
Load:       2 users, load average: 0.39, 0.74, 0.86
Reboot:     required for linux-base, linux-image-5.4.0-71-generic, linux-image-5.4.0-72-generic

BogoMIPS, under Processor, reports the bogus millions of instructions per second.

The information for each computer in the following sections includes the above plus some extra, The information comes from a variety of commands, including hardinfo, dmesg, dmidecode, lspci and lshw. Files like /proc/cpuinfo are also useful. The passmark metrics come from http://www.cpubenchmark.net.

$ dmesg | grep "DMI:" | cut -c6- | cut -d" " -f 3-              # Machine model

$ lscpu
$ cat /proc/cpuinfo | grep 'name'| uniq                         # CPU
$ cat /proc/cpuinfo | grep process| wc -l                       # Number of processors

$ wget -qO- https://www.cpubenchmark.net/laptop.html |          # PassMark
  grep i5-8365U | grep '<li' | perl -p -e 's|^.*prdname">||' |  # Change CPU string
  perl -pe 's|<.*count">| |' | perl -pe 's|<.*||'               #  Removes the HTML markup

$ cat /proc/cpuinfo | grep bogomips                             # BogoMIPS

$ sudo lshw -C memory | egrep '(size|description)'              # Memory
$ cat /sys/block/nvme0n1/device/model                           # SSD Disk

$ sudo lshw -C network | egrep '(description|product|logical)'  # Network
$ lspci -k | grep -EA3 'VGA|3D|Display'                         # Video
$ lspci -k | grep -EA3 -i 'audio'                               # Audio
$ dmesg | grep -i input | grep -i touchpad                      # TouchPad
$ uname -r                                                      # Kernel

Your donation will support ongoing availability and give you access to the PDF version of the book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2021 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0.