2014-02-17 19:57:16 +04:00
|
|
|
# prctl
|
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
> Get or set the resource controls of running processes,.
|
|
|
|
> Tasks, and projects.
|
2014-02-17 19:57:16 +04:00
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Examine process limits and permissions:
|
2014-02-17 19:57:16 +04:00
|
|
|
|
|
|
|
`prctl {{PID}}`
|
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Examine process limits and permissions in machine parseable format:
|
2014-02-17 19:57:16 +04:00
|
|
|
|
|
|
|
`prctl -P {{PID}}`
|
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Get specific limit for a running process:
|
2014-02-17 19:57:16 +04:00
|
|
|
|
2015-10-28 11:33:06 +03:00
|
|
|
`prctl -n process.max-file-descriptor {{PID}}`
|