Files
servercode/nvme.txt
T

15 lines
344 B
Plaintext
Executable File

apt install nvme-cli
nvme list
lspci | grep -i nvme
lspci -s 04:00.0 -vv | grep -iE 'LnkCap|LnkSta'
nvme smart-log /dev/nvme1n1
# lsblk -fe7
# lsblk -o NAME,FSTYPE,LABEL,MOUNTPOINT,SIZE,MODEL
nvme smart-log /dev/nvme0n1 | grep -i '^temperature'
for d in /dev/nvme{0..1}
do
echo "$d - $(sudo nvme smart-log $d | grep -i '^temperature')"
done