Monitoring Ram and CPU per user

3 posts / 0 new
Last post
#1 Thu, 08/12/2010 - 12:58
driftux

Monitoring Ram and CPU per user

I have read a lot of forums but acctualy didn't find an answer. I wish to find out how many memory and CPU time is used by virtualmin domain owner. I need this information per user basis. It would be nice to have such tool wich helps to show statisc (by week, moth, year).

Thanks for sharing.

Thu, 08/12/2010 - 13:03
andreychek

Howdy,

I'm not actually familiar with a tool that can do what you're asking.

Back in the day, if someone wanted to do what you were after, they might explore "Process Accounting" -- which was a kernel feature you could enable that would allow a sysadmin to keep track of info like you're describing. This Linux Journal article from 2002 describes that a bit:

http://www.linuxjournal.com/article/6144

There may be a more modern approach for how to solve that problem though.

Also, if you look in Administration Options -> Edit Resource Limits, you have the ability to set the number of processes, CPU time, and process size for a user. But, those aren't a method of tallying the information, they instead setup hard limits, which isn't exactly what you were looking for.

I hope that helps point you in the right direction!

-Eric

Fri, 08/13/2010 - 05:49
driftux

I checked the link. Quite interesting. Thank you. As I see my need is more simple than the solution is :)

Topic locked