Question
How do you install, start, and stop the sys-snap script?
Answer
You may have a recurring 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 displays this information to you. It works on a rolling 24-hour loop, so only the last 24 hours are available. The article describes how to install, start, and stop the sys-snap script.
Warning: cPanel's Technical Support cannot assist in the installation or usage of the script. For those unfamiliar with using scripts via the command line, you may want a qualified systems administrator to review the logs.
- Log in to the server via SSH or WHM's Terminal as the
rootuser -
Run the following command:
# wget -O /root/sys-snap.pl https://raw.githubusercontent.com/cPanelTechs/SysSnapv2/master/sys-snap.pl && cd /root/ && chmod 744 sys-snap.pl
- Log in to the server via SSH or WHM's Terminal as the
rootuser -
Run the following command:
# perl /root/sys-snap.pl --start
- Log in to the server via SSH or WHM's Terminal as the
rootuser -
Run the following command:
# perl /root/sys-snap.pl --stop
Comments
0 comments
Article is closed for comments.