tldr/pages/sunos/prctl.md

17 lines
397 B
Markdown
Raw Normal View History

# prctl
> Get or set the resource controls of running processes, tasks, and projects.
> More information: <https://www.unix.com/man-page/sunos/1/prctl>.
- Examine process limits and permissions:
2022-11-01 10:27:06 +00:00
`prctl {{pid}}`
- Examine process limits and permissions in machine parsable format:
2022-11-01 10:27:06 +00:00
`prctl -P {{pid}}`
- Get specific limit for a running process:
2022-11-01 10:27:06 +00:00
`prctl -n process.max-file-descriptor {{pid}}`