Raspberry Pi

Monitor Raspberry Pi Performance Remotely Using Glances

Glances is an open-source monitoring tool that provides users a comprehensive overview of the system and processes running on a Linux environment. You can use this tool to monitor CPU, RAM, network traffic, disk usage and more. All the information can be viewed remotely from the web browser using the system IP address.

Follow this article’s guidelines if you want to install Glances on the Raspberry Pi system.

Monitor Raspberry Pi Performance Remotely Using Glances

To monitor Raspberry Pi performance remotely through Glances, follow the below-given steps:

Step 1: Install Python Module

First, you must install a python module called bottle on Raspberry Pi through the following command as it’s required for running Glances.

$ sudo pip3 install bottle

Step 2: Install Glances

Now, you can install Glances on Raspberry Pi from the following pip3 command:

$ sudo pip3 install glances

Step 3: Run Glances on Raspberry Pi

Now, to run the Glances web user interface, you must run the following command:

$ glances -w

Step 4: Access Glances

Go to any system browser and enter the address shown below:

http://IPAddress:61208

Instead of an IPAddress, you have to provide the Raspberry Pi IP address that can be found from the “hostname -I” command.

This will open the Glances web interface on the browser and you can see the system information related to your Raspberry Pi device, including CPU, Network, Disk and much more.

To change the refresh rate of the page, you can add a timer with the URL as shown below:

http://IPAddress:61208/10

Uninstall Glances from Raspberry Pi

You can uninstall Glances and bottle module anytime from the system through the following command:

$ sudo pip3 uninstall glances bottle

Conclusion

Glances is a powerful tool that allows users to view the system information on the browser remotely. You can install this tool with the bottle module from the pip3 command. After that, you can access the Glances web interface on any browser by entering the Raspberry Pi IP address with port 61208.

About the author

Awais Khan

I'm an Engineer and an academic researcher by profession. My interest for Raspberry Pi, embedded systems and blogging has brought me here to share my knowledge with others.