i use vxlicrep to make sure veritas volume manger is installed or not.

on host HP-UX,
vxlicrep works fine, it is found in /usr/sbin  

on host Solaris,
vxlicrep does not work, it is not found in /usr/sbin
however, veritas is installed in solaris, because i can see vxdiskunsetup, /etc/vx/bin/vxdiskunsetup
how can i find on solaris whether veritas volume manger is installed or not...

can i use generalize method for all host
Who is Participating?
You can find where it is installed by doing the following:

cd /var/sadm/install
grep vxlicrep contents
or, to see what Veritas licenses you do have on a Solaris host, including VXVM and VXFS:

/usr/sbin/vxlicense -p

(not sure if this requires admin or root privileges)
pkginfo | grep VRTS is your answer.
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

To see the version of Volume Manager:

pkginfo -l VRTSvxvm
perlperlAuthor Commented:
pkginfo does not woeks for all type of OS
Hanno P.S.IT Consultant and Infrastructure ArchitectCommented:
a) pkginfo works for all types of Unix System V.4
b) Depending on Veritas' version you may use "vxlicense -p" or "vxlicrep"
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.
I will leave the following recommendation for this question in the Cleanup topic area:

Split points: Nukfror & CadburyCat & JustUNIX & BobHB

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

EE Cleanup Volunteer
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.