18
votes
2answers
3k views

What's the fairest way to monitor total CPU time - per user?

On a multi user system, I want to measure each user's CPU usage in seconds of cpu time. For the purpose of this measurement, I assume that if a PID belongs to a user, this user is causing the CPU time ...