Linux Hardware Information Flashcards

1
Q

Display messages in kernel ring buffer

A

dmesg

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Display CPU Information

A

cat /proc/cpuinfo

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Display memory information

A

cat /proc/meminfo

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Display free and used memory (-h for human, readable, -m for MB, -g for GB

A

free -h

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Display PCI devices

A

lspci -tv

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Display USB devices

A

lsusb -tv

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Dispay DMI/SMBIOS(hardware info) from the BIOS

A

dmidecode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

show info about disk sda

A

hdparm -i /dev/sda

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

perform a read speed test on disk sda

A

hdparm -tT /dev/sda

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Test for unreadable blocks on disk sda

A

badlocks -s /dev/sda

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly