- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How do you edit output to swlist
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
03-31-2006 12:37 AM
03-31-2006 12:37 AM
Does anyone know how to manually edit the output to swlist to display an entry which is not installed?
Meaning, I want to list some filesets as Configured which in fact are not on the node itself. The filesets do not need to be installed on this particular machine because it remotely mounts a filesystem from a SG cluster. But I do want it to be listed in swlist for consistency.
I hope that clear as mud :-)
Thanks, Safdar
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2006 12:57 AM
03-31-2006 12:57 AM
Re: How do you edit output to swlist
However - you could create a "blank" depot which has a title of what you want to see.
Have a look at:
http://www.hpworks.org.uk/newsletter/articles/depots/
and
http://docs.hp.com/en/B2355-90740/index.html
Basically, make a psf file and then register it as a depot then swinstall it...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2006 03:07 AM
03-31-2006 03:07 AM
Re: How do you edit output to swlist
swlist -s ... | perl -pe 'print "new line\n" if /^searchtext/' >/tmp/swlist.outputfile
HTH
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2006 03:27 AM
03-31-2006 03:27 AM
Re: How do you edit output to swlist
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2006 03:33 AM
03-31-2006 03:33 AM
Re: How do you edit output to swlist
I think you can create a psf file and register it using swreg command.
have a look at chapter "Registering and Unregistering Depots (swreg)" in http://docs.hp.com/en/B2355-90979/index.html for more detail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2006 04:36 AM
03-31-2006 04:36 AM
SolutionIt makes much more sense to simply explain that the package is executed via NFS. You should also consider the impact of someone having to takeover in your absence; he would be clueless and assume as would I that swlist is telling the truth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2006 08:35 PM
04-02-2006 08:35 PM
Re: How do you edit output to swlist
In case you're not willing:
try edit /var/adm/sw/products/INDEX!
This file is, from my knowledge, a summary of all INDEX files in all subdirectories of /var/adm/sw/products.
Add/delete/modify entries as you want but don't complain if you need to reinstall your server later!
Again, don't do this on production servers!
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2006 12:02 AM
04-05-2006 12:02 AM
Re: How do you edit output to swlist
The first solution works well, although I agree that doing this for blank or empty depots is a bit looney :-)
Anyway, I will propose the different solutions but meanwhile I have learnt something new...
Thanks
Safdar