---
name: "nvme_init_get_log_media_unit_stat-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_init_get_log_media_unit_stat-libnvme3"
---

# nvme\_init\_get\_log\_media\_unit\_stat-libnvme3(2)

Initialize passthru command for Media Unit Status

## NAME

nvme\_init\_get\_log\_media\_unit\_stat - Initialize passthru command for Media Unit Status

## SYNOPSIS

**void nvme\_init\_get\_log\_media\_unit\_stat** **(struct libnvme\_passthru\_cmd \*cmd** *,* **\_\_u16 domid** *,* **struct nvme\_media\_unit\_stat\_log \*mus** *);*

## ARGUMENTS

- cmd

  Passthru command to use

- domid

  Domain Identifier selection, if supported

- mus

  User address to store the Media Unit statistics log

## DESCRIPTION

Initializes the passthru command buffer for the Get Log command with LID value NVME\_LOG\_LID\_MEDIA\_UNIT\_STATUS
