Get or set the resource controls of running processes, tasks, and projects. More information: https://www.unix.com/man-page/sunos/1/prctl.
prctl pid
prctl -P pid
prctl -n process.max-file-descriptor pid