Operating System - HP-UX
1832390 Members
3062 Online
110041 Solutions
New Discussion

[ swlist -l patch lists all packages installed ]

 
madhavabk
Regular Advisor

[ swlist -l patch lists all packages installed ]

Hi all, (Thanks in advance.)

The swlist -l patch is listing all the packages installed on the machine. It is listing all the packages for which is_patch=false.

And also i have one requirement:-
if we have a patch name i would like to check is it installed or is it part of any patch that supersheds.


2 REPLIES 2
Trond Haugen
Honored Contributor

Re: [ swlist -l patch lists all packages installed ]

For listing patche show_patches is reccomended. It is installed thru a patch.
For the latter I don't have an answer.

Regards,
Trond
Regards,
Trond Haugen
LinkedIn
Robert-Jan Goossens
Honored Contributor

Re: [ swlist -l patch lists all packages installed ]

For you second question you could run the cleanup command in a preview mode.

# cleanup -p -c 1
Superseded # Times Superseded Disk Space in /var/adm/sw/save Superseded By
========== ================== ============================== =============
PHCO_12555 1 175104 bytes PHCO_27446

Hope this helps,
Robert-Jan