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).
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:
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!