log: User-Defined Log

Retrieve a log as defined by you:

xnvme log --help
Usage: xnvme log <uri> [<args>]

Retrieve and print log
  
Positional arguments:

  uri                           ; Device URI e.g. '/dev/nvme0n1', '0000:01:00.1', '10.9.8.1.8888', '\\.\PhysicalDrive1'
  
Where <args> include:

  --lid 0xNUM                   ; Log-page IDentifier
  [ --lsp 0xNUM ]               ; Log-SPecific parameters
  [ --lpo-nbytes NUM ]          ; Log-Page Offset (in bytes)
  [ --nsid 0xNUM ]              ; Namespace Identifier for Command Construction
  [ --rae 0xNUM ]               ; Reset Async. Events
  [ --data-nbytes NUM ]         ; Data size in bytes
  [ --data-output FILE ]        ; Path to data output-file
  
With <args> for backend:

  [ --subnqn STRING ]           ; Subsystem NQN of the NVMe over Fabrics endpoint e.g. 'nqn.2022-06.io.xnvme:ctrlnode1'
  [ --hostnqn STRING ]          ; The host NQN to use when connecting to NVMe over Fabrics controllers
  [ --be STRING ]               ; xNVMe backend, e.g. 'linux', 'spdk', 'fbsd', 'macos', 'posix', 'windows'
  [ --dev-nsid 0xNUM ]          ; Namespace Identifier for Device Handle
  [ --admin STRING ]            ; xNVMe admin. command-interface, e.g. 'nvme', 'block'
  [ --mem STRING ]              ; xNVMe buffer/memory manager
  [ --direct NUM ]              ; Bypass layers
  [ --help ]                    ; Show usage / help

See 'xnvme --help' for other commands

xNVMe - Cross-platform NVMe utility -- ver: {major: 0, minor: 7, patch: 4}