2 ms·
change their shell to a bash script that calls bash and has a call to ulimit in it(this will affect everybody though I think). there's another program called cp
by eliasmacpherson 13y ago
change their shell to a bash script that calls bash and has a call to ulimit in it(this will affect everybody though I think). there's another program called cpulimit that you could use.
here's some cgroups resource limiting "resources":
http://dustinoprea.com/2013/11/05/better-resource-throttling-for-processes/ http://dustinoprea.com/2013/11/05/better-resource-throttling...
http://www.janoszen.com/2013/02/06/limiting-linux-processes-cgroups-explained/ http://www.janoszen.com/2013/02/06/limiting-linux-processes-...
- _delirium 13y agoulimit only assigns per-process limits though, not per-user. Afaict you need cgroups to limit users' total usage across processes.