Displays microcode and firmware levels of the system and adapters and devices.
lsmcode [ -A | -d Name ] [ -r | -c ] [ -t [ service | system | adapter | adapter-boot | raid-dasd | backplane ] ]
The lsmcode command when run without any flags, displays the platform system firmware microcode level and the service processor microcode levels, if supported. Not all systems contain a service processor, nor do all systems support displaying the system processor level. Information on a specific device is displayed with the -d flag.
If you run the lsmcode command with the -r or -c flag, it displays the microcode levels in a printf format; that is, not a menu. This method is preferred if running lsmcode from a script.
Item | Description |
---|---|
-A | Displays microcode level information for all supported devices. Using this flag assumes the -r flag. |
-c | Displays the microcode/firmware levels without using menus. |
-d Name | Displays microcode level information for the named device. |
-r | Displays the microcode/firmware levels in a tabular format.
The microcode level is preceded by a Type if supported or required. Current supported
Types are as follows:
|
-t | Specifies the microcode type. The microcode level information of the specified type is displayed. You can use the -t flag only when a device supports multiple types. You can use the -A flag to find any devices supporting multiple types. |
lsmcode -c
The system displays a message similar to the following:
System Firmware level is TCP99256
lsmcode -r
The system displays a message similar to the following:
system:TCP99256
lsmcode -r -d scraid0
The system displays a message similar to the following:
adapter:4.20.18|adapter-boot:4.00.26
raid-dasd:22:FFC #:DDYS-T0.524D3031.53393446
raid-dasd:26:FFC #:DDYS-T0.524D3031.53393446
raid-dasd:2e:FFC #:DDYS-T0.525A3034.53393243
lsmcode -r -d rmt0
The system displays a message similar to the following:
C009
lsmcode -A
The system displays a message similar to the following:
sys0!system:TCP99256
rmt0!C009
scraid0!adapter:4.20.18|adapter-boot:4.00.26
raid-dasd:22:FFC #:DDYS-T0.524D3031.53393446
raid-dasd:26:FFC #:DDYS-T0.524D3031.53393446
raid-dasd:2e:FFC #:DDYS-T0.525A3034.53393243
.....
lsmcode -rd scraid0 -t adapter
The system displays a message similar to the following:
adapter:4.50.01
Item | Description |
---|---|
/usr/sbin/lsmcode | Contains the lsmcode command. |
The diag command.