IBM Support

Displaying the operating system version and maintenance level

Technote (FAQ)


How do I display the version and maintenance level of the operating system on which IBM MQ is running?


Each operating system on which IBM MQ runs has a different method for displaying its version and maintenance. Please be aware that some of the output from the operating systems has been shortened in the interests of clarity:


According to the AIX service strategy, each supported release of AIX will receive a new Technology Level update every one to two years (more frequently for newer AIX versions), with Service Packs for each supported Technology Level released approximately twice per year. IBM announces the End of Service Pack Support (EoSPS) for each Service Pack, after which fixes will no longer be made available for that level of AIX:

    Display the version and maintenance level

    Use the oslevel command to display the AIX version, release, Technology Level (TL), Service Pack (SP) and build date. For example, this output shows AIX V6.1 Technology Level 8, Service Pack 1, built in the 45th week of 2012:

    sh> oslevel -s

    Display back-level LPPs

    Sometimes the Technology Level or Service Pack reported by oslevel is older than you expect, simply because one or two LPPs (Licensed Program Products) are back-level. You can use the oslevel command to determine which LPPs must be updated to reach a particular level:

    1. Use the oslevel command to list the service pack levels known to your system:

      sh> oslevel -sq
      Known Service Packs

    2. AIX keeps a list of LPP levels included in each known service pack. Use the oslevel command to identify which LPPs on your system are older than the ones in the service pack. For example, this output shows an AIX system which would be at service pack 6100-08-04-1341 if only the bos.aso LPP were updated to

      sh> oslevel -sl 6100-08-04-1341
      Fileset                                 Actual Level       Service Pack Level

    3. Use IBM Fix Central to download AIX updates and bring any back level LPPs up to the desired Technology Level and Service Pack. Bear in mind that Fix Central may have newer maintenance levels available than those known to your system.

    Display LPP version and history

    You can use the lslpp command to display the version and installation history of LPPs:

    sh> lslpp -h
      Fileset         Level     Action       Status       Date         Time        
    Path: /usr/lib/objrepos
               COMMIT       COMPLETE     01/01/70     11:29:40    
               COMMIT       COMPLETE     02/12/14     15:22:19    


IBM MQ and WebSphere MQ releases back to V7.0 run on HP Integrity systems, based on the Itanium architecture. Only WebSphere MQ V7.0 and prior versions support HP PA-RISC systems.

    Display the version and installed maintenance bundles

    Use the uname command to display the HP-UX version and release, in this example 11.31:

    sh> uname -a
    HP-UX hp3 B.11.31 U ia64 3875925350 unlimited-user license

    Use the machinfo command to display the HP machine type, architecture, and other details:

    sh> machinfo
    CPU info:
      2 Intel(R) Itanium 2 9000 series processors (1.6GHz, 9MB)
              533 MT/s bus, CPU Version C2
              2 logical processors

    Memory: 16384 MB (16 GB)


    Platform info:
       Model:                  "ia64 hp server rx8640"


    If you want to display more information about operating system maintenance bundles, the following command is a good place to start:

    sh> /usr/sbin/swlist -l bundle | grep -Ei 'GOLD|QPK'
      QPKAPPS       B.11.31.0809.326 Applications Patches for HP-UX 11i v3, September 2008
      QPKBASE       B.11.31.0709.312a Base Quality Pack Bundle for HP-UX 11i v3, September 2007
      QPKBASE       B.11.31.0803.318a Base Quality Pack Bundle for HP-UX 11i v3, March 2008
      QPKBASE       B.11.31.0809.326 Base Quality Pack Bundle for HP-UX 11i v3, September 2008

    Display installed patches

    For more information about patches, you can use the show_patches command. The -a flag will show active patches, while -s will show patches that have been superseded by newer patches:

    sh> /usr/contrib/bin/show_patches -a

        Active                             Patch
        Patch                           Description
      ----------            -----------------------------------------
      PHCO_36003            logins(1M) cumulative patch
      PHCO_36032            killall(1M) cumulative patch
      PHCO_36038            esmd(1M) cumulative patch
      PHCO_36075            documentation change needed for stat(5)

    If you want to check for a specific patch you can examine the output of the show_patches command or use swlist:

    sh> /usr/sbin/swlist -l patch -x show_superseded_patches=true -a superseded_by PHKL_38077
    # Initializing...
    # Contacting target "hp3"...
    # Target:  hp3:/

    # PHKL_38077
    # PHKL_38077.C-INC
    # PHKL_38077.CORE2-KRN
    # PHKL_38077.PAUX-ENG-A-MAN

HP NonStop

WebSphere MQ V5.3.1/V5.3 for HP NonStop Server supports both NonStop S-series and Integrity NonStop i systems. The former IBM MQ V8.0 (MQC8) and WebSphere MQ V7.1 (MAT1) clients for HP Integrity NonStop Server support only HP Integrity NonStop i systems:

  • G  HP NonStop S-series systems (MIPS)
  • H  HP Integrity NonStop i systems (Itanium)
  • J  HP Integrity NonStop i systems (Itanium)
  • L  HP Integrity NonStop X systems (x86-64)

    Display the NonStop version and level

    You can use the OSS 'uname' command to see the NonStop operating system version. Guardian users should run the 'osh' TACL command to switch to the OSS environment first. The two examples below show output from an HP Integrity NonStop server running H06.25 and from an HP Integrity NonStop BladeSystems blade running J06.14:

    osh> uname -a
    NONSTOP_KERNEL nss1 H06 25 NSE-T

    osh> uname -a

    The mqver command also displays some operating system information. In the example below, "T0085" is the MQ product identifier, "H06" is the operating system version, "30JUN2012" is the MQ build date, and "V53_1_9" is the MQ version and maintenance level:

    osh> mqver -V

    Display installed Software Product Revisions (SPRs)

    In order to see what software product revisions (SPRs) are installed on your system, you should use the Distributed Systems Management/Software Configuration Manager (DSM/SCM) tool. For information on installing and using this tool, please refer to the DSM/SCM User's Guide.


WebSphere MQ supports HP OpenVMS on both Alpha and Itanium systems.

    Display the version and release

    From a DCL prompt you can display the current OpenVMS version and release:

    OpenVMS V8.3 on node ovms2 29-MAY-2013 11:14 AM  Uptime 22 12:19:20

    Display installed patches

    From a DCL prompt you can also display the installed system patches:



The iBM i version and PTFs are available through the IBM i Command Line.

    Display the version and release

    Use the GO LICPGM command, then choose option 10 and press F11 to display the IBM i version and release:

    ===> GO LICPGM
    ===> 10

                          Display Installed Licensed Programs

     Licensed  Installed
     Program   Release     Description
     5770SS1   V7R1M0 L00  Library QGPL
     5770SS1   V7R1M0 L00  Library QUSRSYS
     5770SS1   V7R1M0 L00  IBM i
     5770SS1   V7R1M0      Extended Base Support
     5770SS1   V7R1M0      Online Information
     5770SS1   V7R1M0      Extended Base Directory Support

    Display installed PTFs

    If you need to display the maintenance applied to the system, you can use the licensed program name from your system with the DSPPTF command, for example:

    ===> DSPPTF LICPGM(5770SS1)

                                   Display PTF Status                      
                                                                 System:   MQ1
     Product ID  . . . . . . . . . . . . . :   5770SS1                      
     IPL source  . . . . . . . . . . . . . :   ##MACH#B                    
     Release of base option  . . . . . . . :   V7R1M0 L00                  
     Type options, press Enter.                                            
       5=Display PTF details   6=Print cover letter   8=Display cover letter
          PTF                                                   IPL        
     Opt  ID       Status                                       Action      
      _   TC12279  Temporarily applied                          None        
      _   TC12115  Permanently applied                          None        
      _   TC11270  Superseded                                   None        
      _   TC11116  Permanently applied                          None

    If you are looking for a specific PTF, you may find it easiest to send the output from DSPPTF to a spool file, then review and search the output using WRKSPLF Option 5:

    ===> WRKSPLF


Most Linux systems are based on a specific distribution provided by a vendor. The distribution name and version are independent of the Linux kernel version.

    Display distribution details and kernel version

    Use the lsb_release command to display your Linux distribution name and version:

    sh> lsb_release -idr
    Distributor ID: RedHatEnterpriseServer
    Description:    Red Hat Enterprise Linux Server release 5.7 (Tikanga)
    Release:        5.7

    Next, use the uname command to display your Linux kernel version and hardware architecture:

    sh> uname -a
    Linux tux1 2.6.18-274.el5 #1 SMP Fri Jul 8 17:36:59 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux

    Display RPM package information

    Patches are not typically tracked as such; Instead, you can use the rpm command query your system to see which software packages are installed, and their version. The "--last" option shows the most recently changed packages first:

    sh> rpm -qa --last
    MQSeriesXRService_75-7.5.0-0      Fri 07 Dec 2012 02:50:28 PM EST
    MQSeriesXRClients_75-7.5.0-0      Fri 07 Dec 2012 02:50:24 PM EST
    MQSeriesSDK_75-7.5.0-0            Fri 07 Dec 2012 02:50:17 PM EST
    MQSeriesSamples_75-7.5.0-0        Fri 07 Dec 2012 02:50:09 PM EST
    MQSeriesMan_75-7.5.0-0            Fri 07 Dec 2012 02:50:04 PM EST
    MQSeriesGSKit_75-7.5.0-0          Fri 07 Dec 2012 02:50:00 PM EST

    If you wish to see more information about a specific package, rpm can display it:

    sh> rpm -qi tcpdump
    Name        : tcpdump                      Relocations: /usr
    Version     : 3.9.4                             Vendor: Red Hat, Inc.
    Release     : 15.el5                        Build Date: Wed 11 Nov 2009 10:30:39 AM EST
    Install Date: Mon 08 Nov 2010 07:12:41 PM EST      Build Host:
    Group       : Applications/Internet         Source RPM: tcpdump-3.9.4-15.el5.src.rpm
    Size        : 1001294                          License: BSD
    Signature   : DSA/SHA1, Mon 23 Nov 2009 03:56:23 AM EST, Key ID 5326810137017186
    Packager    : Red Hat, Inc. <>
    URL         :
    Summary     : A network traffic monitoring tool.
    Description :
    Tcpdump is a command-line tool for monitoring network traffic.
    Tcpdump can capture and display the packet headers on a particular
    network interface or on all interfaces.  Tcpdump can display all of
    the packet headers, or just the ones that match particular criteria.


IBM MQ supports Solaris on both SPARC and x86-64 systems.

    Display the version, release and hardware

    Use the uname command to display your Solaris version, release, and hardware architecture:

    sh> uname -a
    SunOS sun4 5.10 Generic sun4u sparc SUNW,Sun-Fire-V44

    You can also display the /etc/release file for more information:

    sh> cat /etc/release
                             Solaris 10 3/05 s10_74L2a SPARC
               Copyright 2005 Sun Microsystems, Inc.  All Rights Reserved.
                            Use is subject to license terms.
                                Assembled 22 January 2005

    Display installed patches

    Use the showrev command to view even more information about the system, including installed patches:

    sh> showrev -a
    Hostname: sun4
    Hostid: 8333e041
    Release: 5.10
    Kernel architecture: sun4u
    Application architecture: sparc
    Hardware provider: Sun_Microsystems
    Kernel version: SunOS 5.10 Generic

    OpenWindows version:
    Solaris X11 Version 6.6.2 15 December 2004

    Patch: 120068-02 Obsoletes:  Requires:  Incompatibles:  Packages: SUNWtnetd
    Patch: 116298-08 Obsoletes:  Requires:  Incompatibles:  Packages: SUNWxsrt, SUNWxrgrt, SUNWxrpcrt, SUNWjaxp
    Patch: 116302-02 Obsoletes:  Requires:  Incompatibles:  Packages: SUNWxrpcrt


Windows systems have Service Packs which bundle patches and features, and Hotfixes which can be applied individually to address specific issues.

    Display the version and Service Pack

    Run the winver command to see the Windows version and Service Pack level.

    Display installed patches and other system information

    Run the system_info command from a command prompt to display your Windows version, Service Pack, Hotfixes, and other information.

    C:\Users\justinf> system_info

    Host Name:                 WIN1
    OS Name:                   Microsoft Windows 7 Professional
    OS Version:                6.1.7601 Service Pack 1 Build 7601
    OS Manufacturer:           Microsoft Corporation
    OS Configuration:          Standalone Workstation
    OS Build Type:             Multiprocessor Free

    If you need to send this information to IBM, you should redirect the output to a file:

    C:\Users\justinf> system_info > system_info.txt

Product Alias/Synonym


Document information

More support for: WebSphere MQ
Problem Determination

Software version: 5.3, 5.3.1, 6.0, 7.0, 7.1, 7.5, 8.0, 9.0

Operating system(s): AIX, HP-UX, IBM i, Linux, OpenVMS, Solaris, Windows

Software edition: All Editions

Reference #: 1634678

Modified date: 04 January 2017

Translate this page: