I have an ubuntu server and I am using it for cpu heavy verifications. I want to limit the number of simultaneous verifications to 10. Is there an easy way to limit the process called "vis" to being able run only 10 of them at the same time?
ulimit is the command to make these types of restrictions.I would recommend you make a user called visuser and add the following line to the .bashrc file:
ulimit -u 10
You might have to make it 11 though to make up for the shell.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
4 years ago