ovconfget()ovconfget()NAMEovconfget - returns specified attributes from the configuration data‐
base.
SYNOPSISovconfget-h | -help
ovconfget-version
ovconfget [-ovrg <OVRG>] [<namespace> [<attr>]]
DESCRIPTION
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.
For each specified namespace, ovconfget returns the specified attribute
or attributes and writes them to stdout. Used without arguments, ovcon‐
fget writes all attributes in all namespaces to stdout.
Parameters
ovconfget recognizes the following options:
-h | -help
Displays the options for the ovconfget command
-version
Displays the component version
-ovrg <OVRG>
Specifies the named OV Resource Group <OVRG>.
<namespace> <attr>
Obtains the specified attribute in the specified namespace for
the named OV Resource Group <OVRG> and writes them to stdout. If
namespace is used without specifying an attribute, <attr>,
ovconfget writes the contents of the database for the specified
namespace. If neither <attr> nor <namespace> is specified,
ovconfget writes the complete contents of the configuration
database to stdout.
AUTHORovconfget 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:
· To return the value of the Port attribute in the tst.settings names‐
pace, for example: 9012
ovconfget tst.settings Port
9012
· To return all attributes in the tst.settings namespace as multiple
lines in the form of attr=value, for example:
ovconfget tst.settings
Port=9012
Protocols=HTTP FTP HTTPS
MaxFileSize=128
To return all attributes in all namespaces on multiple lines, for exam‐
ple:
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
ovconfchg
ovconfget()