Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OSLEVEL 1

Status
Not open for further replies.

lscukltd

Technical User
Oct 22, 2004
9
US
when I issue the command oslevel it does not give me the OS patch level
Code:
oslevel -r
Usage: oslevel [ -l <level> | -g | -q ]
     -l : List filesets at levels earlier than maintenance level
          specified by the <level> parameter
     -g : List filesets at levels later than most recent
          complete maintenance level
     -q : List names of known maintenance levels which may be
          specified with the -l flag

  Output indicates that base system software is entirely at
  or above a particular maintenance level. Corresponding output
  would be 4.1.1.0 first AIX 4.1 maintenance level.

  The additional options may be specified to determine which
  filesets differ from the maintenance level.

oslevel works
Code:
oslevel
4.3.2.0

How do I get my OS patch level please.
 
The "-r" switch was introduced in one of the 4.3.3 maintenance levels.

For your system, use "oslevel -q" to get the list of maintenance levels it knows about, then use "oslevel -l <ml_name>" to work your way down the list. The highest level that returns no filesets is yours.




Rod Knowlton
IBM Certified Advanced Technical Expert pSeries and AIX 5L
CompTIA Linux+
CompTIA Security+

 
Thanx Rod

Do you know what bos.rte.install is for or what it does on the system?
 
It provides the commands related to installation and software packages, such as lslpp, installp, and instfix.


Rod Knowlton
IBM Certified Advanced Technical Expert pSeries and AIX 5L
CompTIA Linux+
CompTIA Security+

 
Thanx.
I asked the last question because I found a similar question at thread52-890275
 
hello,

there are 2 filesets who determine your version :

bos.up or bos.mp and bos.rte

There is a good command to know for determine your real level :

instfix -i | grep ML

You will see which ML is installed.

Be careful with oslevel -r, sometimes it's wrong...

Regards

 
Current level:
instfix –i | grep ML

To know wich fileset are missing to have a full LEVEL:
instfix -icqk 4330-07_AIX_ML | grep :-:
instfix -icqk 5100-02_AIX_ML | grep :-:

 
hello altar (or whoever knows the answer :) ),

can you tell us more about how oslevel determine the current level ? my understanding is that oslevel looks at bos.mp|up and bos.rte.* filesets (there are many ones), and outputs the smallest level it finds (ie if one of the bos.rte.* fileset is, for some reasons at 5.1.0.15, and the remaining is 5.2.0.0, it will display 5.1.0.15).


thanks for your lights,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top