Hardware Information Flashcards
1
Q
dmesg
A
Display messages in kernel ring buffer
2
Q
cat /proc/cpuinfo
A
Display CPU information
3
Q
cat /proc/meminfo
A
Display memory information
4
Q
free -h (or -m, -g)
A
Display free and used memory (-h for human readable, -m for MB, -g for GB)
5
Q
lspci -tv
A
Display PCI devices
6
Q
lsusb -tv
A
Display USB devices
7
Q
dmidecode
A
Display DMI/SMBIOS (hardware info) from the BIOS
8
Q
hdparm -i /dev/sda
A
Show info about disk sda
9
Q
hdparm -tT /dev/sda
A
Perform a read speed test on disk sda
10
Q
badblocks -s /dev/sda
A
Test for unreadable blocks on disk sda
11
Q
lshw
A
Display information about CPU, memory, storage, and network interfaces (ls…HardWare)