Menggunakan nvme-cli, saya bisa mendapatkan suhu dari Samsung 950 Pro dengan perintah ini:
nvme smart-log /dev/nvme0 | grep "^temperature"
Anda juga bisa mendapatkan informasi lain:
nvme smart-log /dev/nvme0
Smart Log for NVME device:nvme0 namespace-id:ffffffff
critical_warning : 0
temperature : 45 C
available_spare : 100%
available_spare_threshold : 10%
percentage_used : 0%
data_units_read : 3,020,387
data_units_written : 2,330,810
host_read_commands : 26,960,077
host_write_commands : 15,668,236
controller_busy_time : 65
power_cycles : 98
power_on_hours : 281
unsafe_shutdowns : 68
media_errors : 0
num_err_log_entries : 63
Warning Temperature Time : 0
Critical Composite Temperature Time : 0
Catatan: menggunakan kernel 4.6.4
Untuk akses pengguna:
/ etc / sudoers
# For users group
%users ALL = NOPASSWD: nvme smart-log /dev/nvme0 | grep "^temperature"
# For all
ALL ALL = NOPASSWD: nvme smart-log /dev/nvme0 | grep "^temperature"