list locks
Lists the locks that are held on streams, components or files. You can filter the locks by component and user. If you omit all arguments, the collaborating stream in the component that is identified by the current working directory is used. For files, the output is formatted by the following information: the path source, which is 'L'ocal, 'R'emote, or 'U'nknown; the path, which is ' ' for paths that cannot be resolved; the lock owner's user ID; the component name; and the stream name.
Aliases:
list lock, list l
| Usage: scm list locks | [common options] [-m/--maximum <arg>] [-s/--stream <arg>] [-c/--component <arg>] [-o/--owner <arg>] |
|---|
Options:
| -r, --repository-uri <arg> | The URI that specifies the location of the repository. |
|---|---|
| -u, --username <arg> | The user name for the repository. |
| -P, --password <arg> | The password for the repository. |
| --password-file <arg> | File that contains the user's password. |
| --certificate <arg> | The file that contains the user's login certificate. |
| --smartCard | Use the connected smart card for authentication. |
| --kerberos | Authenticate with Windows user credentials using Kerberos/SPNeGO. |
| --integratedWindows | Authenticate with Windows user credentials using Integrated Windows Authentication. |
| -j, --json | Enable JSON output. |
| -v, --verbose | Shows more information. |
| -m, --maximum <arg> | The maximum number of results that can be returned. The number must be greater than 0. If you omit this option, 10 is used by default. If you specify "all"/"-" then all possible results are displayed. |
| -s, --stream <arg> | Specifies a stream. To specify a stream, use its name[@repo], alias, or UUID[@repo]. |
| -c, --component <arg> | The component to select. Specify the name, alias, or UUID of the component. |
| -o, --owner <arg> | The user ID, alias or UUID of the owner of the lock. |