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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how do i get a list of installed programs

Status
Not open for further replies.

dpsmith

IS-IT--Management
Feb 4, 2002
74
US
how do i get a list of installed programs / resources on an AIX 4.3 RS/6000 7025 F50 server?

i guess i need something similar to the "DSPSFWRSC" command for an AS/400 system.
(or so i was told)

tia
 
Try running: lslpp -L this will give you a full list of all installed programs. Try: lslpp -L | pg to get the list out a page at a time.

 
One thing to keep in mind, though, about lslpp: it only shows you the applications that were installed with installp. If you installed, for instance, Oracle using Oracle's installer, that application won't show up with an lslpp command.
 
This might help for things installed with smit..look at the /tmp/lssout when
done....it is a little more orderly........but bi is right...
If you have third party, not IBM installed, it will not be shown.

#!/bin/ksh
lslpp -ciq
lslpp -ciq | tr ' ' ':' > /tmp/lslpp.op
cat /tmp/lslpp.op | cut -f3 -d: > /tmp/lslpp.vers
cat /tmp/lslpp.op | cut -f5 -d: > /tmp/lslpp.prod_num
cat /tmp/lslpp.op | cut -f7 -d: > /tmp/lslpp.prod_names
pr -t -m /tmp/lslpp.prod_num /tmp/lslpp.prod_names
/tmp/lslpp.vers>>/tmp/lssout
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top