xnvme

Cross-platform NVMe device control and I/O testing tool

brewmacoslinux
Try with needOr install directly
Source

About

Cross-platform libraries and tools for efficient I/O and low-level control

Commands

xnvme

Examples

list all NVMe devices connected to the system$ xnvme enum
get detailed information about an NVMe device$ xnvme info /dev/nvme0n1
run sequential read performance test on NVMe drive$ xnvme io-read /dev/nvme0n1 --iosize 4096 --count 1000
benchmark random write performance on NVMe device$ xnvme io-write /dev/nvme0n1 --iosize 4096 --count 10000 --random
reset NVMe device to default settings$ xnvme idfy-ctrlr /dev/nvme0