# check_pcie_nvme
A check to find out the PCIe Gen of a NVMe SSD.
The script accepts no arguments and returns the following informations:

- The Name of the NVMe
- The PCIe Gen of the NVMe
- Description of the memory controller
- Current Link Speed
- Max Link Speed
- Current Link Width
- Max Link Width

Example of the check output:
----------------------------
NVME PCIe Controller:

nvme0n1: PCIe 3 NVMe
---------------------
More information:
	01:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
	Current Link Speed: 8.0 GT/s PCIe
	Max Link Speed: 8.0 GT/s PCIe
	Current Link Width: 4
	Max Link Width: 4

nvme1n1: PCIe 3 NVMe
---------------------
More information:
	07:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
	Current Link Speed: 8.0 GT/s PCIe
	Max Link Speed: 8.0 GT/s PCIe
	Current Link Width: 4
	Max Link Width: 4

--------------------

 
