lsp

Purpose

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:

Prerequisites

You must have the display administrative domain's configuration right to use the lsp command.

Syntax

lsp::=

lsp [ --short/-s | --long/-l ] [ --dir/-d ] [ --fullname/-f ] [ --novalue/-V ]
[ --nodefault/-D | --defaultvalue/-v ] [ --type/-t ] [ policy-name ]...

Semantics

--short/-s

Displays data in short form (default). This option displays the policy name and setting and indicates whether the setting is the default value.

--long/-l

Displays data in long form. This option is identical to --short except that the output includes a brief description of each policy.

--dir/-d

Displays the directory of the specified policy.

--fullname/-f

Display the full path names of the selected policies.

--novalue/-V

Suppresses the display of policy values.

--nodefault/-D

Suppresses the display of default values of the selected policies.

--defaultvalue/-v

Displays the default values of the selected policies.

--type/-t

Displays policies by type.

policy-name ...

Specifies the name of the policy to display.

Examples

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