File: //opt/OV/man/man1/ovconfget.1
.\"Generated by nroff_template.wdt (12-Sep-06). Do NOT edit this output file. Instead, edit the source FM+SGML file.
.de Sh \" Subsection
.br
.if t .Sp
.ne 5
.PP
\fB\\$1\fR
.PP
..
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Ip \" List item
.br
.ie \\n(.$>=3 .ne \\$3
.el .ne 3
.IP "\\$1" \\$2
..
.TH ovconfget "" "" ""
.ds )H Hewlett-Packard Company
.ds ]L
.ds ]W June 2007
.SH NAME
ovconfget - returns specified attributes from the configuration database.
.SH "SYNOPSIS"
.PP
ovconfget -h | -help
.PP
ovconfget -version
.PP
ovconfget [-ovrg <\fIOVRG\fR>] [<\fInamespace\fR> [\fI<attr\fR>]]
.SH "DESCRIPTION"
.LP
Installed OpenView components have associated configuration settings files that contain one or more namespaces and apply system wide or for a specified OV Resource Group. A namespace is a group of configuration settings that belong to a component. All configurations specified in the settings files are duplicated in the settings.dat configuration database.
.LP
For each specified namespace, ovconfget returns the specified attribute or attributes and writes them to stdout. Used without arguments, ovconfget writes all attributes in all namespaces to stdout.
.Sh "Parameters"
.LP
ovconfget recognizes the following options:
.TP
-h | -help
Displays the options for the ovconfget command
.TP
-version
Displays the component version
.TP
-ovrg <\fIOVRG\fR>
Specifies the named OV Resource Group <\fIOVRG\fR>.
.TP
<\fInamespace\fR> <\fIattr\fR>
Obtains the specified attribute in the specified namespace for the named OV Resource Group <\fIOVRG\fR> and writes them to stdout. If \fInamespace\fR is used without specifying an attribute, \fI<attr>\fR, ovconfget writes the contents of the database for the specified namespace. If neither \fI<attr>\fR nor \fI<namespace>\fR is specified, ovconfget writes the complete contents of the configuration database to stdout.
.SH "AUTHOR"
.LP
ovconfget was developed by Hewlett-Packard Company.
.SH "FILES"
.LP
The ovconfget command uses the following files to read configuration-database settings:
.TP 3
\(bu
<\fIDataDir\fR>/datafiles/xpl/config/settings.dat
.TP
\(bu
<\fIShareDir\fR>/<\fIOVRG\fR>/datafiles/xpl/settings.dat
.LP
.SH "EXAMPLES"
.LP
The following examples show how to use the ovconfget command:
.TP 3
\(bu
To return the value of the Port attribute in the tst.settings namespace, for example: 9012
ovconfget tst.settings Port
9012
.TP
\(bu
To return all attributes in the tst.settings namespace as multiple lines in the form of \fIattr\fR=\fIvalue\fR, for example:
ovconfget tst.settings
Port=9012
Protocols=HTTP FTP HTTPS
MaxFileSize=128
.LP
.LP
\fITo return all attributes in all namespaces on multiple lines, for example:\fR
ovconfget
[tst.lib]
LibraryPath=/opt/OV/lib:/opt/OV/lbin/tst/var/opt/OV/tmp
[tst.settings]
Port=9012
Protocols=HTTP FTP HTTPS
MaxFileSize=128
.LP
.SH "SEE ALSO"
.LP
ovconfchg