[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 3


lsmcode Command

Purpose

Displays microcode and firmware levels of the system and adapters and devices.

Syntax

lsmcode [ -A | -d Name ] [ -r | -c ]

Description

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.

Flags


-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:

system
System Firmware

service
Service Processor

adapter
Adapter Functional microcode

adapter-boot
Adapter Boot Microcode

raid-dasd
DASD Microcode in a RAID array

backplane
Backplane Microcode in a RAID subsystem

Examples

  1. To display the system firmware level and service processor (if present), type:
    lsmcode -c
    

    The system displays a message similar to the following:

    System Firmware level is TCP99256
    
  2. To display the system firmware level and service processor (if present) in raw mode, type:
    lsmcode -r
    

    The system displays a message similar to the following:

    system:TCP99256
    
  3. To display the adapter microcode levels for a RAID adapter scraid0, type:
    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
    
  4. To display the microcode level for a tape drive rmt0, type:
    lsmcode -r -d rmt0
    

    The system displays a message similar to the following:

    C009
    
  5. To display the microcode level for all supported devices, type:
    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
    .....
    

Files


/usr/sbin/lsmcode Contains the lsmcode command.

Related Information

The diag command.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]