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

Commands Reference, Volume 4

oslevel Command

Purpose

Reports the latest installed maintenance level of the system.

Syntax

oslevel [ -l Level | -g | -q ] [-r] [-f]

Description

The oslevel command reports the level of the operating system using a subset of all filesets installed on your system. These filesets include the Base Operating System (BOS), base devices, base printers, and X11 2d.

The oslevel command also prints information about maintenance levels, including which filesets are not at a specified maintenance level.

Flags

-l Level Lists file sets at levels earlier than maintenance level specified by the Level parameter.
-f Forces the oslevel command to rebuild the cache for this operation.
-g Lists file sets at levels later than the current maintenance level.
-q Lists names of known maintenance levels that can be specified using the -l flag.
-r Applies all flags to the recommended maintenance levels.

Examples

  1. To determine the maintenance level of the system, type:

    oslevel
  2. To determine the file sets that are below level 4.1.2.0, type:
    oslevel -l 4.1.2.0
  3. To determine the file sets at levels later than the current maintenance level, type:
    oslevel -g
  4. To determine the highest recommended maintenance level reached for the current version of AIX on the system, type:
    oslevel -r
  5. To list all known recommended maintenance levels on the system, type:
    oslevel -rq

Files

/usr/bin/oslevel Contains the oslevel command.

Related Information

The lslpp command.

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