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

P4 CLI Documentation | 2026.1

# p4 opened (graph)

Display the list of files opened in pending changelists.

## Syntax

    p4 opened [-a -c change] [-C workspace] [-u user -m max -s] [file ...]
    p4 opened [-a] [-m max] [file ...]

Syntax and naming conventions

## Description

Lists files currently opened in pending changelists, or, for specified files, show whether they are currently opened or locked.

If the file specification is omitted, lists the files that are open in the current client workspace.

By default, the files opened by the current user in the current client workspace are listed.

## Options

Option | Description
--- | ---
`-a` | List opened files in all client workspaces. This option is ignored if `-C` or `-u` is used.
`-c change` | List the files in pending changelist `change`.
`-C workspace` | List only files that are open in the specified client `workspace`.
`-m max` | List only the first `max` open files.
`-s` | Produces short and optimized output when used with the `-a` (all clients) option. For large repositories, `-a` can take a long time compared to `-as`.
`-u user` | List only those files that were opened by `user` in any workspace for the specified user name, but can be combined with `-C`.

## Usage notes

Can File Arguments Use Revision Specifier? | Can File Arguments Use Revision Range? | Minimal Access Level Required
--- | --- | ---
No | No | `list` protection and `read` permission

Your search for returned results