Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I want to use cgroups to limit resources in linux

http://en.wikipedia.org/wiki/Cgroups

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

1 Answer 1

up vote 2 down vote accepted

cgroups support a Notification API as described here in section 2.4: http://www.kernel.org/doc/Documentation/cgroups/cgroups.txt

share|improve this answer

Your Answer

 
discard

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.