LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices

Reply
 
Search this Thread
Old 05-12-2006, 02:01 AM   #1
afrose_fathima
LQ Newbie
 
Registered: May 2006
Posts: 4

Rep: Reputation: 0
Fetching the distribution release information on AIX machine


Hi,
I need a way to get the distribution release information on AIX machine.We have a file /etc/fedora-release for fedora and /etc/redhat-realease for RedHat.Please can anyone help me out with a solution.
 
Old 05-12-2006, 06:47 AM   #2
afrose_fathima
LQ Newbie
 
Registered: May 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks to all those people who have spend their time reading this query and sorting out a solution for this.I have found the answer for this.The command oslevel -r give the distribution release information on AIX machine
 
Old 05-15-2006, 02:27 AM   #3
shadow5277
Member
 
Registered: Aug 2005
Location: Texas
Distribution: Redhat FC4, Fedora 8 and AIX 5.3, AIX 6.1
Posts: 39

Rep: Reputation: 16
Quote:
Originally Posted by afrose_fathima
Thanks to all those people who have spend their time reading this query and sorting out a solution for this.I have found the answer for this.The command oslevel -r give the distribution release information on AIX machine

Hello Afrose_fathima,

The best commandto use for that is instfix -i | grep ML this will tell you if you have a complete istall of a certian maintence level.
 
Old 05-16-2006, 04:17 AM   #4
Michael AM
Member
 
Registered: May 2006
Distribution: AIX 5.3, AIX 6.1, AIX 7.1
Posts: 95

Rep: Reputation: 23
And if you take the output of the above command and use:

instfix -ciqk <LEVEL_STRING> | grep :-:

you will get a list of filessets still below that release level

instfix -ciqk <LEVEL_STRING> | grep :+:

you will get a list of filessets above a release level

oslevel -r doesnt report on files that are 'above' level.

The convention for the the oslevel -r output, and the keyword for instfix is:

$ oslevel -r
5200-07

instfix -ciqk 5200-07_AIX_ML | grep :+:
5200-07_AIX_ML:bos.rte.lvm:5.2.0.75:5.2.0.76:+:AIX 5200-07 Update
5200-07_AIX_ML:devices.pci.ad100501.rte:5.2.0.75:5.2.0.76:+:AIX 5200-07 Update

btw. to see the filessets in a level use:
instfix -ciqk 5200-07_AIX_ML

(you might want to add a awk script to print the second argument)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to get cpu information on Linux machine laxmi_cs Programming 41 03-05-2013 02:55 AM
Contents of /etc/<distribution>_version and /etc/<distribution>-release ghaefb Linux - Distributions 6 02-03-2006 06:46 AM
Which distribution on P2 machine? srivastava Linux - Software 6 10-22-2005 02:32 PM
error fetching interface information jw.pi Linux - Networking 2 06-22-2001 06:37 PM
Distribution Information Decius Linux - Distributions 4 04-19-2001 05:45 AM


All times are GMT -5. The time now is 07:38 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration