As a light node operator on the Celestia project, it's important to monitor resource usage to ensure that the blockchain network is running efficiently and effectively. In this post, we'll go over some tips and tools for monitoring resource usage of Celestia.
Here are the necessary steps for monitoring resource usage on Ubuntu:
Open the terminal
Install monitoring tools: There are several monitoring tools available for Ubuntu, including top, htop, iotop, and nmon. These tools can be installed using the following commands:
sudo apt-get update sudo apt-get install top htop iotop nmon
Monitor CPU and memory usage with
top: Thetopcommand shows real-time information about system processes and resource usage. To monitor CPU and memory usage withtop, simply run the commandtopin the terminal. The output shows the percentage of CPU and memory usage for each process running on the system.

Monitor disk I/O with
iotop: Theiotopcommand shows real-time information about disk I/O usage. To monitor disk I/O withiotop, run the commandsudo iotopin the terminal. The output shows the processes that are using the most disk I/O.

Monitor network usage with
nmon: Thenmoncommand shows real-time information about network usage. To monitor network usage withnmon, run the commandsudo nmonin the terminal. The output shows the amount of network traffic for each network interface.

Monitor system performance with
htop: Thehtopcommand is an interactive process viewer that shows real-time information about system performance. To monitor system performance withhtop, run the commandhtopin the terminal. The output shows a list of processes with their resource usage, as well as system performance metrics such as CPU load and memory usage.

In summary, to monitor resource usage on Ubuntu, we need to use monitoring tools such as top, htop, iotop, and nmon. These tools can be installed using the apt-get command, and provide real-time information about CPU, memory, disk I/O, and network usage.

