Use the lsp
command to list defaults and policies.
The policy data is represented as a directory tree with /
as the root. You can use cdp to navigate the tree and lsp
and pwdp to display data.
See Also:
"Policy Commands" for related commands
Appendix A, "Defaults and Policies" for a complete list of policies and policy classes
You must have the display administrative domain's configuration right to use the lsp
command.
lsp [ --short/-s | --long/-l ] [ --dir/-d ] [ --fullname/-f ] [ --novalue/-V ]
[ --nodefault/-D | --defaultvalue/-v ] [ --type/-t ] [ policy-name ]...
Displays data in short form (default). This option displays the policy name and setting and indicates whether the setting is the default value.
Displays data in long form. This option is identical to --short
except that the output includes a brief description of each policy.
Displays the directory of the specified policy.
Display the full path names of the selected policies.
Suppresses the display of policy values.
Suppresses the display of default values of the selected policies.
Displays the default values of the selected policies.
Displays policies by type.
Specifies the name of the policy to display.
Example 2-67 displays the full path name of log policies and suppresses the display of the policy defaults.
Example 2-67 Listing Log Policies
ob> pwdp / ob> lsp --nodefault --fullname --long logs /logs/adminlogevents (none) Names of events that are logged in the administrative server activity log. /logs/adminlogfile (none) Pathname of the administrative server activity log. /logs/clientlogevents (none) Names of events that are logged in each client's local log file. /logs/jobretaintime 30 days Duration for which scheduler job database records are retained. /logs/logretaintime 7 days Duration for which Oracle Secure Backup daemon log entries are retained. /logs/transcriptretaintime 7 days Duration for which backup transcripts are retained. /logs/unixclientlogfile (none) Pathname of the local activity log file for all UNIX clients. /logs/windowsclientlogfile (none) Pathname of the local activity log file for all Windows clients.
Example 2-68 displays the policies in the class daemons
.
Example 2-68 Listing Policies by Type
ob> pwd / ob> lsp --type daemons auditlogins no [default] yes-no obixdmaxupdaters 2 [default] uint min 1 obixdrechecklevel structure [default] enum none structure content obixdupdaternicevalue 0 [default] int webautostart yes yes-no webpass (set) text windowscontrolcertificateservice no [default] yes-no