Author Topic: How to tell which user consumes the most resources?  (Read 5565 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How to tell which user consumes the most resources?
« 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

Offline
*****
Re: How to tell which user consumes the most resources?
« Reply #1 on: January 08, 2021, 11:31:49 AM »
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

Offline
*
Re: How to tell which user consumes the most resources?
« Reply #2 on: January 08, 2021, 07:04:26 PM »
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?

Offline
*****
Re: How to tell which user consumes the most resources?
« Reply #3 on: January 11, 2021, 11:43:38 PM »
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

Re: How to tell which user consumes the most resources?
« Reply #4 on: January 11, 2021, 11:50:39 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.

Offline
*****
Re: How to tell which user consumes the most resources?
« Reply #5 on: January 12, 2021, 09:16:10 AM »
use glances you will get log in it.

Offline
*
Re: How to tell which user consumes the most resources?
« Reply #6 on: January 12, 2021, 11:28:36 AM »
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"

« Last Edit: January 12, 2021, 02:42:25 PM by cynique »