Sun Java System Web Server 7.0 CLI Reference Manual
只搜寻这本书
以 PDF 格式下载本书 (1944 KB)

list-locks(1)

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | EXAMPLES | EXIT STATUS | SEE ALSO

NAME

    list-locks– displays a list of locks

SYNOPSIS

    list-locks <connect_options> [--echo|-e] [--no-prompt|-Q] [--verbose|-v] [--all|-l] --config|-c name --vs|-s name --collection-uri|-d uri

DESCRIPTION

    Use this command to view a list of locks. You can lock a resource so as to serialize access to that resource. Using a lock, a user accessing a particular resource is reassured that another user will not modify the same resource. The lock database maintained by the server keeps track of the lock tokens that are issued to users.

OPTIONS

    For connect_options description, see help(1).

    --echo|-e

    Specify this option to print this command on the standard output before executing. Also, prints the default value for all the non-mandatory options that you have not provided in the command.

    --no-prompt|-Q

    If you specify this option, wadm will not prompt you for passwords while executing this command. Use this option if you have defined all passwords in a password file and specified the file using the --password-file connect_option.

    --verbose|-v

    Specify this option to display a verbose output.

    --all|-l

    If you specify this option, the command displays additional columns of information.

    --config|-c

    Specify the name of the configuration for which you want to list the locks.

    --vs|-s

    Specify the name of the virtual server.

    --collection-uri|-d

    Specify the name of the collection URI.

EXAMPLES


    wadm list-locks --user=admin --password-file=admin.pwd 
    --host=serverhost--port=8989 --config=config1 --vs=vs1 
    --collection-uri=/dav1
    

EXIT STATUS

    The following exit values are returned:

    0

    command executed successfully

    >0

    error in executing the command

SEE ALSO

Sun Java System Web Server Last Revised Nov 2006

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | EXAMPLES | EXIT STATUS | SEE ALSO