BB_GetDeviceUsage - Get NVMe SSD device usage.
#include <bb/include/bbapi.h>
int BB_GetDeviceUsage(uint32_t devicenum, BBDeviceUsage_t *usage)
The BB_GetDeviceUsage routine returns the NVMe device statistics. Error code
devicenum = The index of the NVMe device on the compute node
usage = The current NVMe device statistics
0 = Success
errno = Positive non-zero values correspond with errno. strerror() can be used to interpret.