cvs commit: src/sys/kern kern_proc.c

David Cuthbert dacut at kanga.org
Tue Feb 1 10:18:10 PST 2005


On Tue, Feb 01, 2005 at 06:50:09AM -0800, Paul Herman wrote:
Ah, so when do we get per jail user/nice/system/load CPU stats in 
top/vmstat et. al.?  ;-)
Joerg Sonnenberger wrote:
The question is how expensive is it. Having a global system /
interrupt / idle counter and a per-jail user / nice counter should
be easy to implement.
While Paul's suggestion was obviously in jest, I'd have to say that it's 
probably *not* a good idea to implement it, regardless of the expense, 
unless it can be demonstrated that this can somehow reveal privileged 
information.  This would defeat programs (e.g., sendmail) which attempt 
to back off when system load gets too high.

Dave





More information about the Commits mailing list