You may have a reoccurring issue on your server, and you wish to know exactly what processes were running, and who owned them at a specific time.
On GitHub, there is a script available, sys-snap.pl, that collects and display this information to you. It works on a rolling 24-hour loop, so only the last 24 hours are available.
The following process describes how to install, start, and stop the sys-snap script. The sys-snap page contains full instructions on how to display the collected information.
To install the script, do the following:
- Log into your server as root, using SSH. Or use the WHM Terminal feature.
- Run the following command. This command installs and starts the script:
wget -O /root/sys-snap.pl https://raw.githubusercontent.com/cPanelTechs/SysSnapv2/master/sys-snap.pl && cd /root/ && chmod 744 sys-snap.pl && perl sys-snap.pl --start
To stop the script, do the following:
- Log in to your server as root, using SSH or via the WHM Terminal feature.
- Run the following command. This command stops the script:
perl /root/sys-snap.pl --stop
Review the page here for more information:
Note: cPanel's Technical Support cannot assist in the installation or usage of the script. For those unfamiliar with using scripts via command-line, you may want a qualified systems administrator to review the logs. For more information regarding system administrators, see this page: