Control Web Panel
WebPanel => Information => Topic started by: PiotrE on January 07, 2021, 12:03:00 PM
-
Hi,
is there a way we can check which user consumes the most of the resources??
I have around 60 users on one server and I got feeling one of them put a lot of stress to whole server.
Ive set limits in /Security/cgroups - > Limit server resources (cgroups) - they are all red (Columns in red are disabled in cgroups limits configuration. )
Anyway - is there a way I could monitor which user take the most server resources?
King regards,
Piotr
-
You can use the top/htop commands to see the process you need
-
Thank You. But theres a way we could monitor user usage in longet timeframe? To see who is using the most resources on server over a month or so?
-
No default things configured for that.
You can try to configure the console SA util, for example. Or you can configure some monitoring like Zabbix, Munin, Nagios etc
-
Or you can configure some monitoring like Zabbix, Munin, Nagios etc
Was thinking I might submit a short tutorial on installing munin, if thought useful.
-
use glances you will get log in it.
-
Thank You for all responces.
Munin, afaik cant provide statistics per user- Ive used it before, on cPanel but it only gives me "total", summarize stats per whole server- not per user. But If I mistaken - please post tutorial if You can ;-)
I am looking for a solution to have simple stats like concurrent connections, visitors count, bandwidth but per user in long time-frame (no TOP like information - this second only)
Is this possible?
Basically - for 60 users I have on my server, one of them stress server very much and I can find which user cause this.
High load is purely random to that extend that every few days apache hang and stop serving pages. Manual restart help but I would like to pinpoint user (and dont have time to sit 24h and look after every load spikes ;-D)
Ill look into "Glances"
-
..
Munin, afaik cant provide statistics per user..
Untested..
https://gallery.munin-monitoring.org/plugins/munin-contrib/procbyuser/
https://gallery.munin-monitoring.org/plugins/munin-contrib/membyuser/