- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Finding Manufacturer of Software Products on H...
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
Discussions
Discussions
Forums
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
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
тАО11-26-2009 01:28 AM
тАО11-26-2009 01:28 AM
I want to find the Manufacturer or Vendor of the software products on an HP-UX system. I am able to get this value from "vendor_tag" by using the command /usr/sbin/swlist -vl product.
However as expected due to the -v option this output is very verbose. Is there a way to get this information in any other way without using the -v option? I am interested in parsing this output later so -v is not working well for me.
Please help.
Thanks,
Vineet
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2009 01:40 AM
тАО11-26-2009 01:40 AM
Re: Finding Manufacturer of Software Products on HP-UX
grep it with "Vendor Name"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2009 02:04 AM
тАО11-26-2009 02:04 AM
Re: Finding Manufacturer of Software Products on HP-UX
try
#swlist -vl product |grep "vendor"
viney
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2009 02:21 AM
тАО11-26-2009 02:21 AM
Re: Finding Manufacturer of Software Products on HP-UX
Thanks for your replies.
I have actually tried it but there's a problem. On one hand I am using the command /usr/sbin/swlist -l product -x one_liner="directory revision"
This is for getting details like version, install location etc. Then when I use
/usr/sbin/swlist -vl product | grep vendor_tag
what happens is I get more results in this output as compared to the earlier command. So the mapping is incorrect between the Products name, version, install location to its Vendor!
Thanks,
Vineet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2009 12:23 PM
тАО11-26-2009 12:23 PM
SolutionAfter you find what you want with -v, you can use "-a attribute" to list only those attributes you want. Some examples:
http://docs.hp.com/en/5992-5875/ch03s01.html#v2210430
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2009 07:08 AM
тАО11-27-2009 07:08 AM
Re: Finding Manufacturer of Software Products on HP-UX
# swlist -l product -a vendor_tag
Unix operates with beer.