mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-02 01:18:00 +01:00
16 lines
328 B
Markdown
16 lines
328 B
Markdown
|
# prctl
|
||
|
|
||
|
> Get or set the resource controls of running processes,
|
||
|
> tasks, and projects
|
||
|
|
||
|
- examine process limits and permissions
|
||
|
|
||
|
`prctl {{PID}}`
|
||
|
|
||
|
- examine process limits and permissions in machine parseable format
|
||
|
|
||
|
`prctl -P {{PID}}`
|
||
|
|
||
|
- Get specific limit for a running process
|
||
|
|
||
|
`prctl -n process.max-file-descriptor {{PID}}`
|