- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sam vs. swlist -R
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 04:50 AM
01-17-2006 04:50 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 05:08 AM
01-17-2006 05:08 AM
Re: sam vs. swlist -R
I haven't used swlist -R and when I did now, it listed patches as part of one of the GoldBase or so.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 05:09 AM
01-17-2006 05:09 AM
Re: sam vs. swlist -R
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 05:09 AM
01-17-2006 05:09 AM
SolutionThe best way to query a paricular patch is probably:
# swlist -l patch -a state PHNE_32129
This shows the state of the patch if present, or all patches if you drop the specific patch argument (e.g. PHNE_32129).
You can also use:
# show_patches
...which is a nice frontend to 'swlist'.
The '-R' option of 'swlist' is a shorthand for:
# swlist -l bundle -l subproduct -l fileset
...which does not note the state of a patch(installed, applied, configured, etc.)
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 05:10 AM
01-17-2006 05:10 AM
Re: sam vs. swlist -R
Dear Charlie,
#swlist -R is equivallent to
#swlist -l bundle -l product -l subproduct -l fileset ===> which means EVERYTHING that is installed in the system.
Whereas in SAM you can view to the product level only.
With Regards,
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 05:39 AM
01-17-2006 05:39 AM
Re: sam vs. swlist -R
show_superseded_patches=false
Displays or hides superseded patches in command line swlist output. In the default state of false, swlist will not display superseded patches even if you perform a swlist command on the superseded patch. Setting this option to true permits display of superseded patches. This option applies to command line swlist only. In an interactive session, swlist -i always shows superseded patches regardless of the value of this option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 05:46 AM
01-17-2006 05:46 AM
Re: sam vs. swlist -R
# swlist -R |grep PH |wc -l
904
# swlist |grep PH |wc -l
2
The second example uses no options in an attempt to duplicate swlist -i that SAM does. I then ran if with the -i option and confirmed that only two patches were shown.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 06:49 AM
01-17-2006 06:49 AM
Re: sam vs. swlist -R
Sam has a mode that lets you see the commands it used.
You look at the patch list in sam or swlist -i and then you should be able to look at the commands issued. Then you should be able to do an apples to apples type comparision.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 11:39 PM
01-17-2006 11:39 PM
Re: sam vs. swlist -R
The show_patches -s provided the same information and I like that front end. I had never used or heard of that command.
The main reason I went off on this witch hunt was because I wanted to find out why there was a difference in the output of sam's swlist and the command line version. I know know the reason is that the default for command line swlist is false.
Thanks for that info.