Operating System - HP-UX
1838568 Members
5006 Online
110127 Solutions
New Discussion

Re: How to find out a file part of which product bundle?

 
SOLVED
Go to solution
Sudeesh
Respected Contributor

How to find out a file part of which product bundle?

Hello All,
How can I find out a file(executable) part of which product bundle in HPUX? Like lvextend is part of 'LVM' product.


Thanks

Sudeesh
The most predictable thing in life is its unpredictability
3 REPLIES 3
Devender Khatana
Honored Contributor

Re: How to find out a file part of which product bundle?

Hi Sudeesh,

I think there is no straight forward method to know this reason being that a executable may be there in more than one bundle with different versions. The only way is to know what that executable is intended for i.e. here extending the lv.

This is because you will find a common command like lvextend in HPUX OS release 10.20 of Dec01 & will find the same command in HPUX OS Release 11.00 of Dec04 but the vesions of the same two commands could have been different. Moreover the behaviour of the command also changes when you apply certain patches related to these commands.

HTH,
Devender
Impossible itself mentions "I m possible"
Ermin Borovac
Honored Contributor
Solution

Re: How to find out a file part of which product bundle?

Not sure if this is what you are looking for but here it is anyway

$ /usr/sbin/swlist -l product -l file | grep /usr/sbin/lvextend
LVM.LVM-RUN: /usr/sbin/lvextend
PHCO_31709.LVM-RUN: /usr/sbin/lvextend
Sudeesh
Respected Contributor

Re: How to find out a file part of which product bundle?

Gr8!! Ermin's solution did the Magic....

Thank You

Sudeesh
The most predictable thing in life is its unpredictability