| NVME-RPMB-READ-CO(1) | NVMe Manual | NVME-RPMB-READ-CO(1) |
NAME
nvme-rpmb-read-counter - Read the RPMB write counter
SYNOPSIS
nvme [<global-options>] rpmb read-counter <device>
[--target=<target-id> | -t <target-id>]
DESCRIPTION
Reads the current write counter of the specified RPMB target. The counter value read is printed to STDOUT.
The <device> parameter is mandatory and an NVMe character device (ex: /dev/nvme0) must be specified.
OPTIONS
-t <target>, --target=<target>
GLOBAL OPTIONS
The following options are defined at the top-level nvme command and are available to this subcommand:
--dry-run
--no-ioctl-probing
--no-retries
-o <fmt>, --output-format=<fmt>
--output-format-version=<version>
--quiet
--set-options=<key=value>[,<key=value>...]
--timeout=<ms>
-v, --verbose
These options can also be set as machine-wide defaults in nvme-cli.conf(5). A command-line flag always overrides the file.
EXAMPLES
# nvme rpmb read-counter /dev/nvme0 --target=0
NVME
Part of the nvme-user suite
| 10/30/2026 | NVMe |