For the NVMe device given, sends the Toshiba internal device log request and either saves the result to a file or dumps the content to stdout\&.
.sp
The <device> parameter is mandatory and may be either the NVMe character device (ex: /dev/nvme0), or a namespace block device (ex: /dev/nvme0n1)\&.
.sp
The log is associated with the controller rather than any namespaces\&.
.sp
Two logs exist, the current log and the previous log\&.
.sp
This will only work on Toshiba devices supporting this feature\&.
.sp
Note: The logs are quite large \- typically 100\(cqs of MB\&. This command can take several minutes to complete\&. A progress runner is included when data is written to file and a page count is included in the stdout dump\&.
.SH"OPTIONS"
.PP
\-o <FILE>, \-\-output\-file=<FILE>
.RS4
Output binary file\&. Defaults to text\-formatted dump to stdout
.RE
.PP
\-p, \-\-prev\-log
.RS4
Use previous log contents\&. Defaults to the current log contents\&.
.RE
.SH"EXAMPLES"
.sp
.RS4
.ien\{\
\h'-04'\(bu\h'+03'\c
.\}
.el\{\
.sp-1
.IP\(bu2.3
.\}
Get the current log from the device and dump it to stdout:
.sp
.ifn\{\
.RS4
.\}
.nf
# nvme toshiba internal\-log /dev/nvme0
.fi
.ifn\{\
.RE
.\}
.RE
.sp
.RS4
.ien\{\
\h'-04'\(bu\h'+03'\c
.\}
.el\{\
.sp-1
.IP\(bu2.3
.\}
Get the previous log from the device and save to a binary file: