Operating System - HP-UX
1835419 Members
2531 Online
110078 Solutions
New Discussion

Searching for software from root

 
SOLVED
Go to solution
Darrell Tyler_1
Advisor

Searching for software from root

I'm attempting to search every server I have for all of it's sw and versions.
1. hp_sd (swlist) is limited because it leaves out a lot of third party sw.
2. There is no 'find' command (that I know of) that will search for just for software.
3. I can go to /var/adm/sw/products and issue a couple of ls command and get long intense listing
that includes patches that I don't want. And I know I not getting all the sw on the box
because some of it is not in the same directory.
Lastly, I'm not sure if awking will help.

Any suggestions??
6 REPLIES 6
Patrick Wallek
Honored Contributor

Re: Searching for software from root

Unfortunately there is no magic wand for this.

In my opinion all vendors SHOULD create depots for their HP-UX software so it easier to keep track of. Unfortunately not many do that.

Your best bet is to just poke around the system and see what you can see. Talk to you peers, your DBA's, your applications folks, your users and anyone else you can think to get their input.

Other than that, start documenting when a 3rd party product is installed somewhere. Document the version, where it gets installed, etc.
Steven E. Protter
Exalted Contributor

Re: Searching for software from root

There may be third party packages that provide inventory informaiton.

We do it manually

swlist plus an edited list of whats in /usr and /opt

Its not perfect but it works.

I have checked open source and found nothing for you.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Paula J Frazer-Campbell
Honored Contributor

Re: Searching for software from root

Hi

Because unix is not reliant upon file extensions like windows (.bat,.exe,.com etc) it is difficult to do a search and identify particular bundles of software.

As said track it as installed ans speak to dba.

Paula
If you can spell SysAdmin then you is one - anon
jherring
Regular Advisor

Re: Searching for software from root

Just a thought - if you have Ignite

man print_manifest

print_manifest -s will give you a quick idea of the info it has.

Might be more than you need - and I'm not sure if it lists 3rd party products.

Jon
Steven E. Protter
Exalted Contributor
Solution

Re: Searching for software from root

print_manifiest doesn't do third party last i looked at the output.

I had an idea.

compile a filelist for the whole system.

then run the file command on it grep for binary or executable.

put that output to another file and every binary would be identified.

A little over the top? Yeah. Just mulling it over.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Darrell Tyler_1
Advisor

Re: Searching for software from root

Thank you all for you insight, this is indeed a bear.

Thank you once again!!!!!!!