Re: Memory consumption on a per user basis

2018-11-22 Thread Josh Roden
Boruch Thanks for the syntax examples and references for smem. I'm just using "smem -tu" in my script for now. Happy Thanksgiving and Black Friday to everyone! ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/

Re: Memory consumption on a per user basis

2018-11-22 Thread Baruch Siach
Hi Josh, On Thu, Nov 22, 2018 at 03:53:01PM +0200, Josh Roden wrote: > Does anyone know of a good cgroups forum? The cgroup entry in the kernel source tree MAINTAINERS files shows this: CONTROL GROUP (CGROUP) M: Tejun Heo M: Li Zefan M: Johannes Weiner L: cgro...@vger.kern

Re: Memory consumption on a per user basis

2018-11-22 Thread Josh Roden
Hi Thanks for everyone's input. I came across and liked the smem prog for showing "fair share" mem usage and am using it in a script that looks at RAM+SWAP limit (that I decided on) and it kills whoever is using the most at the time. In the future I hope to succeed in configuring cgroups to enforce