summaryrefslogtreecommitdiff
path: root/Base/usr/share/man/man1/lsof.md
blob: 0a9baf2b9dd3d5c498d4f9e4052e17babf7e77ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
## 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:

* `--help`: Display help message and exit
* `--version`: Print version
* `-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 -->