41.1 System Information
20210615
Summary hardware specifications are available
through wajig, as below. The
hardinfo command is also available and provides a
comprehensive graphical interface to every aspect of the system. For
an exhaustive command line based summary of the hardware use
inxi with the command line options -Fxz.
Hostname:   maple
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:         127.0.0.1, 192.168.178.92 (local) 123.243.39.175 (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-genericBogoMIPS, 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 $(cat /proc/cpuinfo | grep name | uniq -1 | cut -d' ' -f 7) |
    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
$ sudo lshw -class memory | grep '\*-bank' | wc -l              # Available slots
$ sudo dmidecode | grep -i "Maximum Capacity:" | uniq           # Maximum capacity
$ sudo lsblk | grep disk                                        # List disks
$ sudo lshw -class disk -short                                  # List disks
$ 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                                                      # KernelIntel processor information is avaiable from https://ark.intel.com.
Your donation will support ongoing availability and give you access to the PDF version of this 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-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0
