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