1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 04:35:07 +00:00
serenity/Base/usr/share/man/man1/lsof.md
sin-ack cbc89632b9 LibCore+Base: Add way to hide ArgsParser opt.s from specific usage texts
This adds the ability to hide certain options from certain help texts.
`--complete` is always hidden, whereas `--help` and `--version` are
hidden from Markdown help text only.
Note that in all cases these three options are hidden from the short
usage line.
2022-04-06 11:39:08 +02:00

26 lines
453 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
<!-- Auto-generated through ArgsParser -->