04-23-2003
How to find who installed an app
Hi, how could I find whether an application is installed by root or non-root
I am assuming it would be logged in a file, if it is where would it be?
Thanks in advance.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
I wanted to know how can I get the version of underlying HP-OS installed on a HPUX workstation. The output required is "June 2001" version or "March 2003" version etc whatever OS is present.
Thanx in advance for your help.
Regards,
Pankaj (3 Replies)
Discussion started by: pankschawla
3 Replies
2. Solaris
Hi Unix Experts,
I'm told to install WebSphere MQ on Sun 5.9 box. Before I install it, my task is to find out what OS patches have already installed on the box.
I tried pkginfo -i command but it gives all of the packages installed.
I want to find out a specific patch has been installed or... (1 Reply)
Discussion started by: hkhan12
1 Replies
3. UNIX for Dummies Questions & Answers
We are using HP unix how to find out how many number of CPU's in the system. (7 Replies)
Discussion started by: salaathi
7 Replies
4. UNIX for Dummies Questions & Answers
Hi
I am logged into a remote linux machine, i want to find out where
the oracle software is installed..basically, i want to see the following
files...
oracle_home/rdbms/admin/sql.bsq
oracle_home/rdbms/admin/catalog.sql
i am taken to home directory...do i need to export something here?... (3 Replies)
Discussion started by: soujanya_srk
3 Replies
5. UNIX for Advanced & Expert Users
hey ,
Anyone knows command to find when Linux OS is installed?
Date and time? (2 Replies)
Discussion started by: crackthehit007
2 Replies
6. Shell Programming and Scripting
I use CentOS .
I want to know how to find out which sql i have installed ..
Can anyone tell .. (2 Replies)
Discussion started by: madhumathikv
2 Replies
7. UNIX for Dummies Questions & Answers
Hi;
Is there a way to determine for sure how many NIC ports installed on my Linux box?
I tried to run "lspci" but not sure about the results, it's not clear.
Below are the results when i run both "ifconfig" & "lspci" on my Linux box i hope someone can help me finding the actual numbers of... (1 Reply)
Discussion started by: Katkota
1 Replies
8. UNIX for Dummies Questions & Answers
Hi all,
how do we find where perl is installed via command line?
Please let me know for both windows and unix platforms.
when i tried in windows by following option. it is throwing error.
C:\Users\dkanagar>whereis perl
'whereis' is not recognized as an internal or external command,... (4 Replies)
Discussion started by: Divakar
4 Replies
9. UNIX for Beginners Questions & Answers
Hello Forum,
I'm issuing a one line bash command to look for the version of an installed application and saving the result to a variable like so:
APP=application --version
But if the application is not installed I want to return to my variable that the Application is not installed. So I'm... (2 Replies)
Discussion started by: greavette
2 Replies
LEARN ABOUT SUNOS
volmgt_root
volmgt_root(3VOLMGT) Volume Management Library Functions volmgt_root(3VOLMGT)
NAME
volmgt_root - return the Volume Management root directory
SYNOPSIS
cc [ flag ... ] file ... -lvolmgt [ library ... ]
#include <volmgt.h>
const char *volmgt_root(void);
DESCRIPTION
The volmgt_root() function returns the current Volume Management root directory, which by default is /vol but can be configured to be in a
different location.
RETURN VALUES
The volmgt_root() function returns pointer to a static string containing the root directory for Volume Management.
ERRORS
This function may fail if an open() of /dev/volctl fails. If this occurs a pointer to the default Volume Management root directory is
returned.
EXAMPLES
Example 1: Finding the Volume Management root directory.
To find out where the Volume Management root directory is:
if ((path = volmgt_root()) != NULL) {
(void) printf("Volume Management root dir=%s
", path);
} else {
(void) printf("can't find Volume Management root dir
");
}
FILES
/vol default location for the Volume Management root directory
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
cc(1B), vold(1M), open(2), volmgt_check(3VOLMGT), volmgt_inuse(3VOLMGT), volmgt_running(3VOLMGT), attributes(5), volfs(7FS)
NOTES
This function returns the default root directory location even when Volume Management is not running.
SunOS 5.10 1 Feb 2001 volmgt_root(3VOLMGT)