- Plesk for Linux
- Plesk for Windows
How to identify the domain PHP process that consumes CPU resources?
Is it possible to check CPU and Memory usage historical statistics per subscription?
Plesk Repair Kit extension includes functionality to monitor in real-time CPU and RAM usage per subscription.
Verify Plesk Repair Kit extension is installed and go to Tools & Settings > Assistance and Troubleshooting section > Process List and turn on Auto-update of resource usage option:
Currently, it is not possible to check CPU and RAM usage historical statistics per subscription, this functionality is yet to be implemented. Vote for such feature in our Official Plesk UserVoice channel as top-voted suggestions are likely to be included in future Plesk versions.
Server load can be monitored with the command
If the website is using FastCGI handler, the whole path will be shown to the file php.ini in the utility output. In this path the domain will be:
# top -c
12479 john_doe 20 0 362156 39324 29044 S 13.6 1.9 0:00.41 /usr/bin/php5-cgi -c /var/www/vhosts/system/example.com/etc/php.ini
If the website is using FPM handler, the utility output will be the following:
# top -c
16397 john_doe 20 0 370640 31544 21292 S 12.6 1.5 0:00.38 php-fpm: pool example.om