libnvme_get_ctrl_telemetry(9)
π libnvme_get_ctrl_telemetry β like, the controller telemetry log, bestie π
okay so this is a page straight out of the libnvme API manual (that's the family it lives in π«Ά), and it's literally just "go get me the controller telemetry log." That's the whole plot. No cap.
β¨ SYNOPSIS β¨
int libnvme_get_ctrl_telemetry (struct libnvme_transport_handle *hdl ,
bool rae , struct nvme_telemetry_log **log , enum nvme_telemetry_da da ,
size_t *size );
likeβ¦ one function, five arguments, zero drama. slay π
π ARGUMENTS π
hdlβ the transport handle. your little passport into the transport layer, bestie πraeβ retain asynchronous events. yes queen, keep those events πlogβ on success, this gets set to the value of the allocated and retrieved log. so it's giving "here's your log, freshly allocated, freshly fetched" β¨daβ the log page data area. valid values live inenum nvme_telemetry_da. that's the one and only menu, iykyk πsizeβ ptr to the telemetry log size, so it can be returned. it's a pointer to the size, so the size can come back out β icon behaviour π
π¦ DESCRIPTION π¦
the total size allocated can be calculated as:
(nvme_telemetry_log da size + 1) * NVME_LOG_TELEM_BLOCK_SIZE.
that's it, that's the formula, write it on your mirror in lipstick π literally the whole math of the thing. lowkey obsessed with how tidy that is.
π₯ RETURN π₯
0on success π- the nvme command status if a response was received (peep
enum nvme_status_fieldfor the full drip sheet π) - or a negative error otherwise π
fr fr, remember: 0 = good vibes, positive-ish status = the controller had thoughts, negative = something went sideways before anybody could answer π
and that's the page, bestie β go fetch that telemetry log and eat, no crumbs π
πΈ mwah, this was libnvme API manual, October 2026 edition β see u in the next manpage, love u, bye π«Άπ
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms