1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
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 15:57:06 +05:30
`prctl {{pid}}`
- Examine process limits and permissions in machine parsable format:
2022-11-01 15:57:06 +05:30
`prctl -P {{pid}}`
- Get specific limit for a running process:
2022-11-01 15:57:06 +05:30
`prctl -n process.max-file-descriptor {{pid}}`