Hardware
Hardware
Everything related to hardware in one place. From the basics of querying hardware information, up to securing physical access and limiting hardware devices.
Summary
Monitoring USB communications using usbmon interface
Learn how to monitor USB devices by using the usbmon kernel module together with Wireshark or Tshark.
Summary
With the help of usbmon we have a cost-effective solution to monitor USB communications between the kernel and a hardware device. It is an alternative to hardware USB protocol analyzers for those on a budget or having to do it once. Loading of usbmon kernel module The first step is to load the related kernel module. This can be done using the modprobe command. $ sudo modprobe usbmon Validate if the usbmon kernel module is loaded using the lsmod command.
Lscpu
The lscpu command reports information about the CPU, such as architecture, vendor identification, virtualization features, cache, and even CPU vulnerabilities.
Summary
The lscpu command retrieves information about the the CPU architecture. The sources to retrieve this information include /proc/cpuinfo, pseudo file system sysfs, and available libraries. Examples of information includes: Cores CPUs BogoMIPS Byte order Cache sharing Caches Family Model Stepping NUMA nodes Threads Sockets Virtualization details Vulnerabilities The tool is both suitable for using in the terminal and manual interpretation, but also for automated processing. When its output is piped to other another application, it is aware that any screen markup should be left out.
How to see CPU details
Show CPU details such as architecture, vendor, caches, virtualization options, and even known CPU vulnerabilities such as Meltdown and Spectre.
Summary
Show CPU details
Dmidecode cheat sheet
Want to see all hardware details of a system? Then dmidecode is your friend, helping to decode all information from the SMBIOS specification.
Summary
All hardware exposed
How to see memory information such as type and speed
Show memory information and details such as the number of banks in use, the memory type and speed.
Summary
Show memory details
Kernel: Frequently Asked Questions
Frequently asked questions about the Linux kernel and kernel security.
Summary
How to list all USB devices
Retrieve device information from USB hubs and devices using the lsusb command.
Summary
Retrieve USB device information using lsusb
How to see the available hard disks
Show the available hard disks in a system by using the right Linux tool. There are multiple options to pick, so let's have a look.
Summary
Query the available hard disk(s)
How to see hard disk specifications and details
Show more detailed information about the available hard disks in the system. Specifications like speed, serial number, firmware, and other details.
Summary
More in-depth information about the available hard disks
How to see BIOS details
Show bios details from within a Linux system. Learn how to query these details and where to find more information.
Summary
Show BIOS information using dmidecode
Hardware: Frequently Asked Questions
Frequently asked questions about hardware information such as bios, USB devices, memory, and other details.