p4 jobs reports the list of all jobs currently known to the system.
If a file (pattern) is given, only fixes for changelists affecting that file (or set of files) are listed. The file pattern may include wildcards and/or a revision number range.
The -e jobview limits the output to jobs satisfying the expression given as 'jobview'. See 'p4 help jobview' for a description of jobview syntax.
The -i flag also includes any fixes made by changelists integrated into the specified files.
The -l flag produces long output with the full text of the job descriptions.
The -R flag rebuilds the jobs table and reindexes each job; this is necessary after upgrading to 98.2. 'p4 jobs -R' requires superuser access granted by 'p4 protect'.