tldr/pages/sunos/prctl.md

16 lines
328 B
Markdown
Raw Normal View History

# prctl
> Get or set the resource controls of running processes,
> tasks, and projects
- examine process limits and permissions
`prctl {{PID}}`
- examine process limits and permissions in machine parseable format
`prctl -P {{PID}}`
- Get specific limit for a running process
`prctl -n process.max-file-descriptor {{PID}}`