.\"Generated by db2man.xsl. Don't modify this, modify the source. .de Sh \" Subsection .br .if t .Sp .ne 5 .PP \fB\\$1\fR .PP .. .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Ip \" List item .br .ie \\n(.$>=3 .ne \\$3 .el .ne 3 .IP "\\$1" \\$2 .. .TH "LSMCODE" 8 "" "" "" .SH NAME lsmcode \- list microcode and firmware levels .SH "SYNOPSIS" .ad l .hy 0 .HP 8 \fBlsmcode\fR [\fB\-A\fR | \fB\-\-All\fR | \fB\-d\fR | \fB\-\-device=\fR] [\fB\-\-tabular\fR | \fB\-\-no\-menus\fR] [\fB\-p\fR | \fB\-\-path=\fR | \fB\-z\fR | \fB\-\-zip=\fR] [\fB\-h\fR | \fB\-\-help\fR] .ad .hy .SH "DESCRIPTION" .PP This program is part of the lsvpd package for Linux\&. This package is a (partial) reimplementation of AIX's lsvpd and related commands\&. .PP \fBlsmcode\fR lists hardware microcode and firmware levels\&. The output can be presented in a `human readable' format or a more structured format that is easily parsable by other software\&. The Linux version does not support the interactive menus that are found in the AIX version\&. \fBlsmcode\fR retrieves information from \fBlsvpd\fR's hardware inventory database\&. Therefore, the \fIvpdupdate(8)\fR command must have been executed prior to running \fBlsmcode\fR\&. .PP Some IBM POWER systems feature \fIdynamic VPD\fR\&. \fBlsmcode\fR will only list version information corresponding to dynamic VPD when invoked by the \fIroot\fR user \- when invoked by another user this version information will be omitted but other version information will still be listed\&. .SH "OPTIONS" .TP \-A|\-\-All Display information for all supported hardware\&. .TP \-d|\-\-device= Only show configuration information for the component with the given \fIname\fR\&. .TP \-p|\-\-path= Use as the hardware inventory database, rather than the default file\&. Note the supplied filename must include a full path\&. (\fI/var/lib/lsvpd/vpd.db\fR)\&. This option is useful for producing output for previous hardware inventory databases that have been replaced by the system\&. .TP \-z\-\-zip= Use as the hardware inventory database, rather than the default directory (\fI/var/lib/lsvpd/\fR)\&. The archive has been compressed using \fIgzip(1)\fR\&. This option is useful for producing output for old hardware inventory databases that have been archived by the system\&. .TP \-h|\-\-help Display a help screen and quit\&. .SH "FILES" .TP \fI/var/lib/lsvpd/vpd.db\fR Database file used by \fBlsmcode\fR\&. .SH "BUGS" .PP \fBlsmcode\fR will not reflect changes in firmware/microcode versions for certain hardware without a reboot\&. This will (hopefully) be supported in a later version on Linux 2\&.6 systems with dynamic \fI/proc/device\-tree\fR\&. .PP Version information for some adapters may not be available because retrieval mechanisms have not yet been implemented\&. .SH "SEE ALSO" .PP lsvpd(8), lscfg(8), lsvio(8), vpdupdate(8) .SH "AUTHORS" .PP Eric Munson \&. Brad Peters \&. .PP Copyright (c) 2003 - 2013 IBM\&.