Here, we outline how to use Sys-snap, a diagnostic tool that logs up to 24 hours of resource usage data.
It is used to track down the causes of resource shortages, whether CPU or Memory-related, even when no one is looking.
Related Articles
Install Sys-snap
Parse Old Sys-snap Data
Gather Basic Data
IMPORTANT: This solution will require root access. If this needs to be obtained, follow the guide on requesting root access.
-
SSH into the server as root
- Run the command
sys-snap.pl --print HH:MM HH:MM
to print basic resource usage, sorted by user
REPLACE: HH:MM with the start and end time to print.
EXAMPLE:~# sys-snap.pl --print 10:00 11:00
user: root
cpu-score: 2.60
memory-score: 629.20
user: nobody
cpu-score: 0.00
memory-score: 619.90
user: redis
cpu-score: 0.00
memory-score: 15.9
Comments
0 comments
Article is closed for comments.