Get or set process resource soft and hard limits. Given a process ID and one or more resources, prlimit tries to retrieve and/or modify the limits. More information: https://manned.org/prlimit.
prlimit
prlimit --pid pid_number
prlimit --nofile=10 command