Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to use cgroups to limit resources in linux

How can I be notified when a limit if hit. For example if I limit a process to 2 gigs or ram how will I know when that is reached if I am not actively monitoring it?

share|improve this question
up vote 2 down vote accepted

cgroups support a Notification API as described here in section 2.4:

share|improve this answer
There is no section 2.4 in that link – clofresh Jul 21 '15 at 14:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.