Leia man bash
e procure a seção ulimit
que começa com:
ulimit [-HSTabcdefilmnpqrstuvx [limit]]
Provides control over the resources available to the shell and to processes started by it, on systems that allow such control.
Leia também man nice
:
NAME
nice - run a program with modified scheduling priority