OptionsOn lsof itself
-a
Apply AND to the selections (defaults to OR)
-c
Select the listing of files for processes executing a command <string or regexp (optional ending with /i /b /x)>
+c
COMMAND width (9) <number>
+d
Search for all open instances/files/directories of directory <file>
-d
Specify a list of file descriptors (FDs) to exclude from or include in the output listing <File descriptor number>
+D
Search tree for all open instances/files/directories of directory. *SLOW?* <file>
+f
Enable path name arguments to be interpreted <flags>
-f
Inhibit path name arguments to be interpreted <flags>
-F
Select fields to output <options>
-g
Exclude or select by process group IDs (PGID) <PGID>
-i
Selects files by [46][protocol][@hostname|hostaddr][:service|port] <options>
-l
Inhibit conversion of user IDs to login names
+L
Enable listing of file link counts <number>
-L
Disable listing of file link counts <number>
+M
Enable portMap registration
-M
Disable portMap registration
-p
Exclude or select process identification numbers (PIDs) <PIDs>
+r
Repeat every t seconds (15) until no files <time (seconds)>
-r
Repeat every t seconds (15) forever <time (seconds)>
-s
List file size or exclude/select protocol <protocol:state>
-S
Stat timeout in seconds (lstat/readlink/stat) <timeout (seconds)>
-T
Disable TCP/TPI info <info>
-u
Exclude/select login|UID set <UIDs>
-x
Cross over +d|+D File systems or symbolic links <cross-over option>
-X
File descriptor table only