LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-04-2011, 12:37 PM   #1
xtenex
LQ Newbie
 
Registered: Jul 2011
Posts: 3

Rep: Reputation: Disabled
Question sw inventory unix like systems


Hi, well this is the scenario:

i have aix, sunOS, hp-ux, rhel, so i need to list all software installed on those systems; i looking for a script but my search was not successful...
at sunOS i do a simple pkginfo -l |grep -v SUN* to discriminate some packages cause i saw on solaris the sustem packages start with "SUN" but in rhel, aix and hpux isn't possible

i need to get a list of applications, subsystems or utils like oracle, mysql, veritas, iplanet, weblogic, etc

can anybody help me?
 
Old 07-04-2011, 07:41 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,417

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
On RHEL 5.x, assuming you've stuck to using the built-in tool (yum/rpm), use these cmds http://kbase.redhat.com/faq/docs/DOC-2531.
These are the equiv of pkginfo/pkgchk etc.
RHEL4.x uses up2date/rpm.
 
1 members found this post helpful.
Old 07-06-2011, 12:13 AM   #3
xtenex
LQ Newbie
 
Registered: Jul 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
;o oh thks Chrism01 so i try with it, so unfortunately i still having the same trouble "how to list installed software excluding system tools/software"
 
Old 07-06-2011, 01:32 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,417

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
Exactly what problems are you having; more detail reqd?
 
Old 07-06-2011, 02:24 AM   #5
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,363

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by xtenex View Post
Hi, well this is the scenario:

i have aix, sunOS, hp-ux, rhel, so i need to list all software installed on those systems; i looking for a script but my search was not successful...
at sunOS i do a simple pkginfo -l |grep -v SUN* to discriminate some packages cause i saw on solaris the sustem packages start with "SUN" but in rhel, aix and hpux isn't possible

i need to get a list of applications, subsystems or utils like oracle, mysql, veritas, iplanet, weblogic, etc

can anybody help me?
Have you tried this ?

ocsinventory-ng
 
Old 07-06-2011, 08:52 AM   #6
netnix99
Member
 
Registered: Jun 2011
Distribution: redhat, CentOS, OpenBSD
Posts: 298

Rep: Reputation: 98
xtenex,

on RedHat/Fedora based systems, do: rpm -qa | sort > rpmlist.new

this will list all rpms installed, put them in alphabetical order, and write them to the file rpmlist.new.

on Solaris, do: pkginfo -l | grep PKGINST | sort > pkglist.new

this will list all packages installed, put them in alphabetical order, and write them to the file pkglist.new

This will NOT; however, show you anything that was installed on the systems by compiling from source.

Last edited by netnix99; 07-06-2011 at 08:56 AM.
 
  


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
Inventory tool for Unix Servers vikas027 Linux - Software 9 06-22-2011 03:22 AM
Unix Systems Engineer FASherman LinuxQuestions.org Member Intro 3 07-06-2006 04:47 AM
UNIX Sound Systems TGWDNGHN General 3 11-22-2005 03:33 PM
[c] unix systems programming in MS VS C++? saiz66 Programming 2 10-07-2004 09:16 AM
unix systems programming in c saiz66 Programming 9 10-04-2004 11:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:38 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration