-c c | selects the listing of files for processes executing the command that begins with the characters of c. | help + man |
-d s | specifies a list of file descriptors (FDs) to exclude from or include in the output listing. | help + man |
-i select | -K [i] list|(i)gn tasKs -l list UID numbers | help |
-n no | inhibits the conversion of network numbers to host names for network files. | help + man |
-O no | directs lsof to bypass the strategy it uses to avoid being blocked by some kernel operations - i.e., doing them in forked child processes. | help + man |
-R list | directs lsof to list the Parent Process IDentification number in the PPID column. | help + man |
-T disable | -U select Unix socket -v list version info | help + man |
-V verbose | directs lsof to indicate the items it was asked to list and failed to find - command names, file names, Internet addresses or files, login names, NFS files, PIDs, PGIDs, and UIDs. | help + man |
-H human | directs lsof to print human readable sizes, e.g. 123.4K 456.7M. | help + man |
-E display | +E display endpoint info and files | help + man |
-p s | excludes or selects the listing of files for the processes whose optional process IDentification (PID) numbers are in the comma-separated set s - e.g., 123'' or 123,^456''. | help + man |
-s p:s | exclude(^)|select protocol (p = TCP|UDP) states by name(s). | help |
-u s | selects the listing of files for the user whose login names or user ID numbers are in the comma-separated set s - e.g., abe'', or 548,root''. | help + man |
-? -h | These two equivalent options select a usage (help) output list. (in the manual page but not in --help) | man |
-a | causes list selection options to be ANDed, as described above. (in the manual page but not in --help) | man |
-A A | is available on systems configured for AFS whose AFS kernel code is implemented via dynamic modules. (in the manual page but not in --help) | man |
-b | causes lsof to avoid kernel functions that might block - lstat(2), readlink(2), and stat(2). (in the manual page but not in --help) | man |
-C | disables the reporting of any path name components from the kernel's name cache. (in the manual page but not in --help) | man |
-D D | directs lsof's use of the device cache file. (in the manual page but not in --help) | man |
-F f | specifies a character list, f, that selects the fields to be output for processing by another program, and the character that terminates each output field. (in the manual page but not in --help) | man |
-J | selects JSON output mode. (in the manual page but not in --help) | man |
-j | selects JSON Lines output mode. (in the manual page but not in --help) | man |
-K k | selects the listing of tasks (threads) of processes, on dialects where task (thread) reporting is supported. (in the manual page but not in --help) | man |
-k k | specifies a kernel name list file, k, in place of /vmunix, /mach, etc. (in the manual page but not in --help) | man |
-l | inhibits the conversion of user ID numbers to login names. (in the manual page but not in --help) | man |
-N | selects the listing of NFS files. (in the manual page but not in --help) | man |
-o | directs lsof to display file offset at all times. (in the manual page but not in --help) | man |
-P | inhibits the conversion of port numbers to port names for network files (the mapping is commonly learned from /etc/services). (in the manual page but not in --help) | man |
-Q | ignore failed search terms. (in the manual page but not in --help) | man |
-t | produce terse output comprising only process identifiers (without a header), so that it is easy to use programmatically. (in the manual page but not in --help) | man |
-U | selects the listing of UNIX domain socket files. (in the manual page but not in --help) | man |
-v | selects the listing of lsof version information, including: revision number; (in the manual page but not in --help) | man |
-X | This is a dialect-specific option. (in the manual page but not in --help) | man |