sPanel Load Monitor
wget -O - https://loadmon.06082018.xyz/install.sh | bash
The load monitor works in the background as a system service.
Every 5 minutes (00:00 - 00:05 - 00:10..etc) runs "ps -eo user:32,pcpu,pmem,pid,args --no-headers", filters out the users alongside their active processes and ram/cpu consumption, sums up the amount into a single line and stores it in "/var/log/spanel/loadmonitor" - just like cPanel's dcpumon.
In order to check for overloaders, you simply type "overloaders", which would bring the top 5 overloaders for the day.
In case you need to check a specific user for a specific period of time, you can use the "-u USERNAME" for the user and "-d 7" for a 7 day period of resource usage log. There's no limit for the "-d" argument, you can look months and months behind if you want to.
Example output:
[root@server ~]# overloaders Top 3 overloaders for 2025-08-14 Account: npmruntest CPU: 0.00 Mem: 0.40 MySQL: 0.00 Top: Account: nodebase64 CPU: 0.00 Mem: 0.50 MySQL: 0.00 Top: Account: nodetest CPU: 0.00 Mem: 0.60 MySQL: 0.00 Top: [root@server ~]# overloaders -u npmruntest -d 7 Load history for npmruntest (last 7 days, 2025-08-07 .. 2025-08-13) 2025-08-07 Account: npmruntest CPU: 0.00 Mem: 0.00 MySQL: 0.00 2025-08-08 Account: npmruntest CPU: 0.00 Mem: 0.00 MySQL: 0.00 2025-08-09 Account: npmruntest CPU: 0.00 Mem: 0.00 MySQL: 0.00 2025-08-10 Account: npmruntest CPU: 0.00 Mem: 0.00 MySQL: 0.00 2025-08-11 Account: npmruntest CPU: 0.00 Mem: 0.00 MySQL: 0.00 2025-08-12 Account: npmruntest CPU: 0.00 Mem: 0.00 MySQL: 0.00 2025-08-13 Account: npmruntest CPU: 0.00 Mem: 0.40 MySQL: 0.00 Top:
spmonitor service
https://loadmon.06082018.xyz/spmonitor.go
overloaders (client - reader & parser)
https://loadmon.06082018.xyz/overloaders.go
Version 1.0.0.0 - 14.08.2025
-----------------------------------------------------------------------------------------
- Initial release