New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

How to tell which user consumes the most resources?

Started by PiotrE, January 07, 2021, 12:03:00 PM

Previous topic - Next topic

PiotrE

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

Igor S.

You can use the top/htop commands to see the process you need



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services

PiotrE

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?

Igor S.

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



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services

cinique

Quote from: Igor S. on January 11, 2021, 11:43:38 PM
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.

Sandeep


PiotrE

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"