Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

P4 CLI Reference | 2025.1

# p4 lockstat

Report lock status of database tables.

## Syntax

    p4 [g-opts] lockstat [-c client | -C]

Syntax conventions

## Description

By default, the `p4 lockstat` command reports any database tables that are currently locked for a read or write operation.

## Options

`-c client` | Report whether or not the specified client workspace is locked for a read or write operation.
`-C` | Report all client workspaces that are locked for read/write operations.
`g-opts` | See Global options.

## Usage notes

Can File Arguments Use Revision Specifier? | Can File Arguments Use Revision Range? | Minimal Access Level Required
--- | --- | ---
N/A | N/A | `super` available to an operator user

Your search for returned results