System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

what is difference between these outputs

 
SOLVED
Go to solution
senthil_kumar_1
Super Advisor

what is difference between these outputs

Hi

1)root@lgapps:/root > swlist -l product | grep -i mirror



2)root@lgapps:/root > swlist -l fileset | grep -i mirror
LVM.LVM-MIRROR-RUN B.11.00 LVM-MIRROR-RUN
PHCO_24437.LVM-MIRROR-RUN 1.0 LVM.LVM-MIRROR-RUN
PHCO_33244.LVM-MIRROR-RUN 1.0 LVM.LVM-MIRROR-RUN


First command is not showing the output. but
second command is showing the output.

Pls explain the difference of these commands.
6 REPLIES 6
Sivakumar MJ._1
Respected Contributor

Re: what is difference between these outputs

Senthil, Check the man command

http://docs.hp.com/en/B2355-90681/swlist.1M.html

product
Show all objects down to the product level. Also use -l bundle -l product to show bundles.


fileset
Show all objects down to the fileset level. Also use -l fileset -l subproduct to show subproducts.

For HP Online Case Logging-->http://support.openview.hp.com/
Pete Randall
Outstanding Contributor

Re: what is difference between these outputs

It's the -l keyword. The first is just showing the product itself, the second is showing the filesets that make up the product.

Products are composed of filesets, which are composed of files, etc., etc.


Pete

Pete
Avinash20
Honored Contributor
Solution

Re: what is difference between these outputs

If you are having MC-OE then Mirror-UX is a fileset which will be installed

To check the OE

# swlist | grep HPUX
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Ganesan R
Honored Contributor

Re: what is difference between these outputs

Hi Senthilkumar,

>>>First command is not showing the output. but
second command is showing the output.<<<

Because mirror-ux is not a product. it is a bundle. Try with this command.

#swlist -l bundle |grep -i mirror
B2491BA B.11.11 MirrorDisk/UX
#

Best wishes,

Ganesh.
UVK
Trusted Contributor

Re: what is difference between these outputs

# man swlist

;-)

-l level ---> levels of objects to view, one of: "depot","bundle", "product", "subproduct", "fileset","file", "root", "shroot", "prroot","category", "patch", "control_file"
-------------------------------------------
Like it or worked !! Click kudos !!
UVK
Trusted Contributor

Re: what is difference between these outputs

Level are kinds by which hpux differentiates the software and its components that are installed or to be installed on it.

For example if you want to have Mirror unix on you machine you need to install the mirror unix bundle and remember itâ s a licensed software.

There might be some patches released for the bundle which you can list by using
#swlist â l patch

-------------------------------------------
Like it or worked !! Click kudos !!