1nvme_get_host_telemetry(9)    libnvme API manual    nvme_get_host_telemetry(9)
2
3
4

NAME

6       nvme_get_host_telemetry - Get host telemetry log
7

SYNOPSIS

9       int nvme_get_host_telemetry (int fd , struct nvme_telemetry_log **log ,
10       enum nvme_telemetry_da da , size_t *size );
11

ARGUMENTS

13       fd          File descriptor of nvme device
14
15       log         On success, set to the value of the allocated and retrieved
16                   log.
17
18       da          Log page data area, valid values: enum nvme_telemetry_da
19
20       size        Ptr to the telemetry log size, so it can be returned
21

DESCRIPTION

23       The  total  size allocated can be calculated as: (nvme_telemetry_log da
24       size  + 1) * NVME_LOG_TELEM_BLOCK_SIZE.
25

RETURN

27       The nvme command status if a response was received (see enum  nvme_sta‐
28       tus_field) or -1 with errno set otherwise.
29
30
31
32October 2023                nvme_get_host_telemetry nvme_get_host_telemetry(9)
Impressum