Operating System - HP-UX
1837131 Members
2436 Online
110112 Solutions
New Discussion

Re: What software is installed on my server?

 
Angela Cotter
Occasional Contributor

What software is installed on my server?

How can I find out what has been installed on a server I have inherited? "swlist" will give me the software installed using swinstall but other applications have been installed manually, eg, Oracle Enterprise Manager.
Is there anyway of finding out what's on the server other than manually trawling through every directory? Thanks for your help in advance.
8 REPLIES 8
Rainer von Bongartz
Honored Contributor

Re: What software is installed on my server?

Sorry, no chance !!!

Whatever was installed with swinstall can be found,
what was installed manually can only manually be tracked.

He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Alexander M. Ermes
Honored Contributor

Re: What software is installed on my server?

Hi there.
If you want to know, which Oracle software is installed,
use the Oracle Universal Installer ( 8.1.6 and higher ) or the installer ( up to 8.0.n ).
Any other software usually creates a subdirectory in /opt
Rgds
Alexander M. Ermes
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
Sachin Patel
Honored Contributor

Re: What software is installed on my server?

Hi
Mostly all 3rd party software goes in to /opt check directory listing there.

Sachin
Is photography a hobby or another way to spend $
Angela Cotter
Occasional Contributor

Re: What software is installed on my server?

Thanks for the replys so far. It isn't looking good for me, as I don't think there's been any consistency of installing software where it should go on this server.

Would it be possible to write a script that could identify binary type files, or is this a bit pointless as not all software will be in this format?
Shahul
Esteemed Contributor

Re: What software is installed on my server?


Hi

Unfortunately there is no inbuilt tool available in HP to list installed S/Ws. All HP patch bundles and products U can list by using swlist command with defferent options. See man page of swlist. Most of the other softwares are installed in /opt. U can do a directory listing and trace out.

Best of luck
Shahul
James R. Ferguson
Acclaimed Contributor

Re: What software is installed on my server?

Hi Angela:

If you want to ascertain the kinds of files you have in a particular directory, you could use the 'file' command:

# cd
# for X in *
> do
> file $X
> done

You will see a listing of the filename followed by the file type as defined in /etc/magic.

...JRF...
Deshpande Prashant
Honored Contributor

Re: What software is installed on my server?

Hi Angela
A guess,
Normally the different software appplications may have their own user id, take a look at you password file to identify such application users and their home directories,
also it is possible that some applications are running daemons, check processes other than ownd by root, then trace it out in file systems.
Good luck.
Prashant.
Take it as it comes.
Bill Thorsteinson
Honored Contributor

Re: What software is installed on my server?

You could start with a list of executable programs
generated by a find command like:

find / -type f -perm +111

Major applications like Databases and Server daemons
will likely have a userid created for it. Other software
like perl. vnc, emacs, and such may be installed in /opt
or /usr/local. However, they may also be found in
/bin or /usr/bin. Stuff in home directories should not
be installed software.