locating additiona apps/sw on Solaris 9


 
Thread Tools Search this Thread
Operating Systems Solaris locating additiona apps/sw on Solaris 9
# 1  
Old 04-03-2008
locating additiona apps/sw on Solaris 9

I was asked to find all of the applications/software/utility programs on a couple of the servers we have here. That does not appear to be a problem as we know most of these stuff are probably put in the /opt or the /usr directory. Is this the only location where these software are put? Is there a command that can be run (native Solaris command?) that can be run and dump all of these apps/sw to a file? I also need to find the version of these apps/sw, and this makes it a little tricky as I don't know much about other non-Sun apps/sw.

If anyone has an idea, please let me know what you all use.

Thanks Much!
# 2  
Old 04-03-2008
If they were installed as packages you can use the pkginfo command.
# 3  
Old 04-03-2008
no, not packages

no, I am not referring to packages. many of our servers have other software installed like samba or tomcat or some collaboration software, and probably others. would you think all of these are installed in /opt only or are there other locations where they are installed?
# 4  
Old 04-04-2008
Quote:
Originally Posted by bluridge
no, I am not referring to packages. many of our servers have other software installed like samba or tomcat or some collaboration software, and probably others. would you think all of these are installed in /opt only or are there other locations where they are installed?
There's few ways to check but no hard and fast rules. But in the end you must know what software you are looking for.

Most GNU softwares will create a "local" directory and install it under /usr like GCC gzip perl apache mysql etc ...

But some admins like to put it into /opt or /usr/opt or /var/opt(like oracle oratab)

The best place to look I will think is under /etc/init.d this is where most of the startup scripts are located then linked to /etc/rc2.d or /etc/rc3.d

cd /etc/init.d
grep -i oracle *
grep -i apache *
grep -i tomcat *

if it list the files then you know how to check further from there.

Personally I'm quite a lazy administrator, I dun like to do double job to create scripts under /etc/init.d then again softlink(ln -s) it to /etc/rc3.d, immediately I will put my application startup script into rc3.d and be done with it.

So different administrator have different ways of doing things.

So basically you have to search for what you want. If you dunno what you looking for try to do ps -ef > /tmp/xxx then slowly sift thru the file to see what is currently running on your box

Last edited by sparcguy; 04-04-2008 at 01:59 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Locating all the scripts which start with:#!

Hi, I need to find all the executable shell scripts under /home dirctory and its sub directories. I would like to print the path to the files , which include in the header of the file: #! (Actually its the first line of the file). I have tried : find . -name "*" -type f -exec sh -c ' ... (14 Replies)
Discussion started by: Yoav
14 Replies

2. Solaris

Locating files!

My question is : -How do I locate files of specific user in specific folder. In other words, How do I find files that belong only to "root" user, in /etc folder? (5 Replies)
Discussion started by: alexex666
5 Replies

3. UNIX for Dummies Questions & Answers

Locating a hidden file

it seems one of my server's account was compromised. I caught a perl script running a hack/attack script: 20:23 /usr/bin/perl ./up **.**.**.** 0 120 I've disabled the user etc, but I cannot find the script "up" anywhere in the server. I tried using locate or find. any ideas? (1 Reply)
Discussion started by: MaRiOsGR
1 Replies

4. Ubuntu

Help with locating a file (to download)

debian_base_system.tar.bz2 is what I am looking for. Hello All; I am trying to learn Linux and have done some work, now I am installing Xen virtual machine But I need a .tar.bz2 file which is the base Operating System (for Ubuntu or Debian)* but I do not know where to download it from, the... (2 Replies)
Discussion started by: Matey
2 Replies

5. Shell Programming and Scripting

Dynamically locating a file

Hi, I have a requriement where in I need to install a s/w by executing the installable file through a script. The script currently contains the path of the installable file. I need to now update the script accordingly such tht it identifies the location of the installable file automatically and... (1 Reply)
Discussion started by: yoursdavinder
1 Replies

6. UNIX for Dummies Questions & Answers

locating the last file in the directory

i have few files in a directory.. i want to know , how to locate or display that last file in the directory which has the max date.. pls help (2 Replies)
Discussion started by: wip_vasikaran
2 Replies

7. UNIX for Dummies Questions & Answers

Running Solaris Sparc Apps on X86 Solaris

I know that Sun make s a version of Solaris for Sparc platforms and also an x86 (Intel/AMD) release of Solaris. Can an application that runs on Solaris/Sparc also run on a PC running the x86 release of Solaris? Would a different release be required or any re-compling of the application? jim (1 Reply)
Discussion started by: stocksj
1 Replies

8. UNIX for Dummies Questions & Answers

Locating C source code

Hi, I'm trying to locate where on the filesystem I can find the source code for C standard libraries. The reason why is I'd like to look at the implementation of "'atoi"'. I've tried a brutal search of "grep -r "atoi" *" from root as root but the search took too long. I'm running redhat 7.3... (3 Replies)
Discussion started by: chadwick0
3 Replies

9. UNIX for Dummies Questions & Answers

3d graphics apps for unix/solaris

Hi, I noticed that SUN is selling the Blade 100 workstation for < 1000. I am considering buying one with a high end graphics card for 3D animation/graphics (and also some java development). I am wondering if any relatively inexpensive graphics applications exist for Unix/Solaris machines. Anybody... (4 Replies)
Discussion started by: eqpfunk
4 Replies
Login or Register to Ask a Question