p4 labels lists all the labels known to the Perforce service in the form:
Use the -t option to display the time of the last update to the label.
To see a list of loaded static labels that tag specific files, specify a file pattern, with an optional revision range. (Because automatic labels refer to all files in the label view at a specified revision range, automatic labels are not shown when you use
p4 labels with a file pattern.)
Use the -m max option to limit the output to the first
max labels.
Use the -e or
-E filter options to limit the output to labels whose name matches the
filter pattern. The
-e option is case-sensitive, and
-E is case-insensitive.
Use the -u user option to limit the output to labels owned by the named user.