Monitor the temperature and health status of nvme ssd in Ubuntu

immortalt

immortalt

Posted on December 3, 2021

Monitor the temperature and health status of nvme ssd in Ubuntu

Install nvme-cli

sudo apt-get install nvme-cli
Enter fullscreen mode Exit fullscreen mode

List disks

sudo nvme list
Enter fullscreen mode Exit fullscreen mode

View the details of the hard drive

sudo nvme smart-log /dev/nvme0
Enter fullscreen mode Exit fullscreen mode

Auto refresh status

sudo watch -n 1 nvme smart-log /dev/nvme0
Enter fullscreen mode Exit fullscreen mode

Only view the temperature info

sudo nvme smart-log /dev/nvme0 | grep "^temperature"
Enter fullscreen mode Exit fullscreen mode
πŸ’– πŸ’ͺ πŸ™… 🚩
immortalt
immortalt

Posted on December 3, 2021

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related