1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-15 06:14:58 +00:00
serenity/Base/usr/share/man/man1/lsof.md
kleines Filmröllchen afaea38be2 Base: Expand "See Also" sections of many manpages
This commit focuses on the CLI utilities.
2023-07-06 10:03:48 +01:00

28 lines
482 B
Markdown

## Name
lsof
## Synopsis
```sh
$ lsof [-p pid] [-d fd] [-u login/UID] [-g PGID] [filename]
```
## Description
List open files of a processes. This can mean actual files in the file system, sockets, pipes, etc.
## Options
* `-p pid`: Select by PID
* `-d fd`: Select by file descriptor
* `-u login/UID`: Select by login/UID
* `-g PGID`: Select by process group ID
## Arguments
* `filename`: Filename
## See Also
* [`pmap`(1)](help://man/1/pmap)
* [`ps`(1)](help://man/1/ps)