- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to get package/application info?
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
04-12-2007 07:41 PM
04-12-2007 07:41 PM
How to get package/application info?
I am trying to create a script for maintainenance purpose, my challenge is to figure out what applications are in a specified package, I think I get get it via script, command line or config files. Does anybody know how to do this?
Regards,
Daniel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2007 07:48 PM
04-12-2007 07:48 PM
Re: How to get package/application info?
hope this can be useful:
to see patch (ux) level
show_patches
to check what kind of patch (ux)
swlist â l patch
and comand
what
on core (main) file of application
best regards
pg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2007 08:15 PM
04-12-2007 08:15 PM
Re: How to get package/application info?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2007 08:25 PM
04-12-2007 08:25 PM
Re: How to get package/application info?
But this is too specific and dependant on the scripting style of the person who supplied this functionality to give any general recommendations how to extract this info.
One can only generally extract where this logic is hidden by parsing the cluster config like that:
# cmviewconf|grep -E 'package (name|(run|halt) script)'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2007 08:41 PM
04-12-2007 08:41 PM
Re: How to get package/application info?
Then your maintenance process could simply source it and access the defined resource array variables.
e.g.
$ . /etc/cmcluster/package/package.ctl
IP addresses:
echo ${IP[*]}
Mount Points and LVs:
echo ${LV[*]} ${FS[*]}
etc.
As you can see, this wouldn't require any contrived parsing (which in turn maybe even would require some grammar definition).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2007 08:50 PM
04-12-2007 08:50 PM
Re: How to get package/application info?
Thanks!