
The atop tool logs all activity in 600-second intervals by default. Red Hat-based systems $ sudo yum install atopĭebian-based systems $ sudo apt install atop Install the atop tool by running the following commands: The atop tool is included in official repositories for most Linux distributions. Because of this continuous logging, if issues reoccur, you have historical data to analyze. This tool logs all relevant system information continuously. The atop tool reports the activity of all processes, even if those processes have finished during the specified interval. The iostat, vmstat, and mpstat commands.The following are resources you can use to analyze and monitor your Lightsail instance's resources from the command line:

This also allows for a granular view of which processes are using the most CPU, memory, disk I/O, or network. Using common tools you can monitor resources such as CPU, memory, disk I/O, and network usage on Lightsail instances in real time from the command line.Īnalyzing and monitoring Lightsail instance resource usage from the command line provides real-time system insight. There are several factors, including high resource utilization, that affect services running on Lightsail instances.
