CLI Reference > Configuration Management Commands > si viewlocks
si viewlocks
displays locks
si viewlocks [--format=value] [--headerFormat=value] [--noFormat] [--noHeaderFormat] [--noTrailerFormat] [(-r rev|--revision=rev)] [--range=value] [--trailerFormat=value] [--fields=field1[:width1],field2[:width2]...] [--[no]failOnAmbiguousProject] [--maxTrunkRevs=value] [--lockRecordFormat=value] [--lockRecordDetailFormat=value] [--lockseparator=value] [--rfilter=filteroptions] [--height=value] [--width=value] [-x value] [-y value] [(-R|--[no|confirm]recurse)] [--filter=filteroptions] [(-P project|--project=project)] [(-S sandbox|--sandbox=sandbox)] [--devpath=path] [--projectRevision=rev] [--hostname=server] [--port=number] [--password=password] [--user=name] [(-?|--usage)] [(-F file|--selectionFile=file)] [(-N|--no)] [(-Y|--yes)] [--[no]batch] [--cwd=directory] [--forceConfirm=[yes|no]] [--[no]persist] [--settingsUI=[gui|default]] [--status=[none|gui|default]] member...
si viewlocks displays the locks held in a project and some information about the members, for example:
c:\app\connect.txt 1.4 mkern
Jan 9, 2002 - 4:06 PM
c:\app\source.txt 1.3 mkern
Jan 9, 2002 - 4:06 PM
c:\app\config.c 1.3 mkern
Jan 8, 2002 - 2:26 PM
By default, si viewlocks displays the member names of locked members, not the working file names.
This command takes some of the universal options available to all si commands, as well as some general options. See the options reference page for descriptions.
See the si rlog reference page for descriptions of all options applicable to si viewlocks.
See the diagnostics reference page for possible exit status values.
Using si setprefs or si viewprefs, you are able to set or view the preference keys for this command.
See Also
Commands: si archiveinfo, si memberinfo, si mods, si print, si revisioninfo, si rlog, si sandboxinfo, si viewhistory, si viewlabels, si viewprojecthistory, si viewsandbox
Miscellaneous: ACL, diagnostics, options, preferences