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