1LSMCODE(8)                                                          LSMCODE(8)
2
3
4

NAME

6       lsmcode - list microcode and firmware levels
7

SYNOPSIS

9       lsmcode [-A | --All | -d<name> | --device=<name>] [-r | --tabular | -c
10               | --no-menus] [-p<database-file> | --path=<database-file> |
11               -z<database-archive> | --zip=<database-archive>] [-h | --help]
12
13

DESCRIPTION

15       This  program is part of the lsvpd package for Linux. This package is a
16       (partial) reimplementation of AIX's lsvpd and related commands.
17
18
19        lsmcode lists hardware microcode and firmware levels. The  output  can
20       be  presented  in a `human readable' format or a more structured format
21       that is easily parsable by other software. The Linux version  does  not
22       support  the  interactive menus that are found in the AIX version. lsm‐
23       code retrieves information from lsvpd's  hardware  inventory  database.
24       Therefore,  the  vpdupdate(8)  command must have been executed prior to
25       running lsmcode.
26
27
28       Some IBM POWER systems feature dynamic VPD. lsmcode will only list ver‐
29       sion  information corresponding to dynamic VPD when invoked by the root
30       user - when invoked by another user this version  information  will  be
31       omitted but other version information will still be listed.
32
33

OPTIONS

35       -A|--All
36              Display information for all supported hardware. This implies the
37              -r option.
38
39
40       -d<name>|--device=<name>
41              Only show configuration information for the component  with  the
42              given name.
43
44
45       -r|--tabluar
46              Display information in a tabular format. Overrides -c.
47
48
49       -c|--no-menus
50              Display  information  without using menus. This is only included
51              for compatibility with calling software that expects to be  able
52              to  use  the same options as for the AIX version, since interac‐
53              tive menus are not supported in this version.
54
55
56       -p<database-file>|--path=<database-file>
57              Use <database-file> as the hardware inventory  database,  rather
58              then the default file. Note the supplied filename must include a
59              full path. (/var/lib/lsvpd/db).
60
61              This option is useful for producing output for previous hardware
62              inventory databases that have been replaced by the system.
63
64
65       -z<database-archive>--zip=<database-archive>
66              Use  <database-archive>  as  the  hardware  inventory  database,
67              rather then the default directory (/var/lib/lsvpd/db).  The  ar‐
68              chive has been compressed using gzip(1).
69
70              This  option is useful for producing output for old hardware in‐
71              ventory databases that have been archived by the system.
72
73
74       -h|--help
75              Display a help screen and quit.
76
77

FILES

79       /var/lib/lsvpd/db
80              Database file used by lsmcode.
81
82

BUGS

84        lsmcode will not reflect changes in  firmware/microcode  versions  for
85       certain  hardware  without a reboot. This will (hopefully) be supported
86       in a later version on Linux 2.6 systems with dynamic /proc/device-tree.
87
88
89       Version information for some adapters may not be available because  re‐
90       trieval mechanisms have not yet been implemented.
91
92

SEE ALSO

94       lsvpd(8), lscfg(8), lsvio(8), vpdupdate(8)
95
96

AUTHORS

98       Eric Munson <ebmunson@us.ibm.com>. Brad Peters <bpeters@us.ibm.com>.
99
100
101       Copyright (c) 2003, 2004, 2005 IBM. Released under the GNU General Pub‐
102       lic License, version 2.
103
104
105
106
107                                                                    LSMCODE(8)
Impressum