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