$ 0 0 Use ulimit -u from the bash shell to set a limit on "max user processes".From the C shell, you use the limit command.If you need a system call to do this, use the setrlimit call to set RLIMIT_NPROC.