NAME
ovconfget
- return specified attributes from the configuration database.
SYNOPSIS
ovconfget -h | -help
ovconfget -version
ovconfget [-ovrg <OVRG
>] [<namespace
> [<attr
>]]
DESCRIPTION
Installed HP Operations components have associated configuration
settings files that contain one or more namespaces, and apply
system wide or for a specified HPOM 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.
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.
Parameters
The ovconfget
command recognizes the following
options:
-h | -help
ovconfget
command.
-ovrg
<
OVRG
>
<
OVRG
>
.
<
OVRG
>
, and
writes them to stdout. If you use namespace
without specifying an attribute, <attr>
,
ovconfget
writes the contents of the database for the
specified namespace. If you do not specify
<attr>
or
<namespace>
, ovconfget
writes the complete contents of the configuration database to
stdout.AUTHOR
ovconfget
was developed by Hewlett-Packard
Company.
FILES
The ovconfget
command uses the following files to
read configuration-database settings:
<
DataDir
>/datafiles/xpl/config/settings.dat
<
ShareDir
>/<
OVRG
>/datafiles/xpl/settings.dat
EXAMPLES
The following examples show how to use the
ovconfget
command:
Port
attribute in the
tst.settings
namespace:
ovconfget tst.settings Port
9012
tst.settings
namespace as multiple lines in the form of
attr
=value
:
ovconfget tst.settings
Port=9012
Protocols=HTTP FTP HTTPS
MaxFileSize=128
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
SEE ALSO