one-core-peak: Reporting NVME features
authorErwan Velu <erwanaliasr1@gmail.com>
Sun, 26 Sep 2021 20:26:27 +0000 (22:26 +0200)
committerErwan Velu <erwanaliasr1@gmail.com>
Sun, 26 Sep 2021 20:37:39 +0000 (22:37 +0200)
commitb1297bd21cff542cc27713ac65704a3e80273756
tree831c411280a41d52b9ef7c2ea806060fa6fd9153
parentf27e8c6362306254baaa249ae44dd86d29fc0994
one-core-peak: Reporting NVME features

This commit get some low-level features of NVME drives and report them.
It includes, temperature, apste, power state and submission & completion queues

A typical output looks like :
  nvme0n1: MODEL=Samsung SSD 970 EVO Plus 2TB FW=2B2QEXM7 serial=S59CNM0R417706B PCI=0000:01:00.0@8.0 GT/s PCIe IRQ=62 NUMA=0 CPUS=0-31
  nvme0n1: Temp:34 C, Autonomous Power State Transition: Enabled, PowerState:4, Completion Queues:32, Submission Queues:32

Signed-off-by: Erwan Velu <erwanaliasr1@gmail.com>
t/one-core-peak.sh