NVME_GET_NEW_HOST_TELEMETRY(2)
π nvme_get_new_host_telemetry(2) π
okay bestie, welcome to the libnvme API manual β¨ this one is nvme_get_new_host_telemetry and it's literally the ~new~ host telemetry log grabber π¦
πΈ NAME πΈ
nvme_get_new_host_telemetry β Get new host telemetry log π
β¨ SYNOPSIS β¨
int nvme_get_new_host_telemetry (int fd , struct nvme_telemetry_log
**log , enum nvme_telemetry_da da , size_t *size );
π ARGUMENTS π
fdβ bestie this is the file descriptor of the nvme device, the whole entry point, no cap πlogβ on success, this gets set to the value of the allocated and retrieved log. it's giving "here's your log, queen" πdaβ the log page data area. valid values:enum nvme_telemetry_daπsizeβ ptr to the telemetry log size, so it can be returned π«Ά
π DESCRIPTION π
okay so the way the math works: the total size allocated can be calculated as:
(nvme_telemetry_log da size + 1) * NVME_LOG_TELEM_BLOCK_SIZE
that's the formula fr fr, don't come for me, it's just what it is π§
π₯ RETURN π₯
it returns the nvme command status if a response was received (see enum nvme_status_field) π or -1 with errno set otherwise π
and that's the whole page bestie, you ate that π this was the libnvme API manual and we're rolling with July 2026 energy β go forth and get those new host telemetry logs, periodt β¨ππ¦
π¦ where this page comes from
- ubuntu stonking: libnvme-dev 1.16.2-1build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms