Skip to Content
Linux Administration Cookbook
book

Linux Administration Cookbook

by Adam K. Dean
December 2018
Beginner
826 pages
22h 54m
English
Packt Publishing
Content preview from Linux Administration Cookbook

lshw

Should dmidecode not be available, you can also make use of lshw, a command for listing hardware. Again, it makes use of the DMI table on a device.

Very quickly, we can use a format option of lshw to show the bus information of a system:

$ sudo lshw -businfoBus info Device Class Description===================================================== system VirtualBox bus VirtualBox memory 128KiB BIOS memory 1GiB System memorycpu@0 processor Intel(R) Core(TM) i7-7500U CPU @ 2.70GHzpci@0000:00:00.0 bridge 440FX - 82441FX PMC [Natoma]pci@0000:00:01.0 bridge 82371SB PIIX3 ISA [Natoma/Triton II]pci@0000:00:01.1 scsi1 storage 82371AB/EB/MB PIIX4 IDEscsi@1:0.0.0 /dev/cdrom disk CD-ROMpci@0000:00:02.0 display VirtualBox Graphics Adapterpci@0000:00:03.0 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical Linux Security Cookbook - Second Edition

Practical Linux Security Cookbook - Second Edition

Tajinder Kalsi
Mastering Linux Administration

Mastering Linux Administration

Alexandru Calcatinge, Julian Balog

Publisher Resources

ISBN: 9781789342529Supplemental Content