Hello I was wondering what programs are available to monitor how many processes a shell acount user can run?

Something that I can set a limit and if the person goes over that limit kills the process and sends them an email explaining why their process was killed.

Or something along those lines to control processes


Thank you!