How to disable auto refresh on SmokePing

SmokePing is a network latency measurement and visualization tool on Linux. The tool can measure network latency (and any other network properties) against multiple destination hosts, and visualize measurements on various time scales. Once you have installed SmokePing, you can access SmokePing-collected statistics via web interface as follows.

SmokePing visualizes latency measurements in real-time, and while doing so, automatically refreshes its statistics web page periodically. You can verify that the web page generated by SmokePing is set to refresh every five seconds.

<META HTTP-EQUIV="Refresh" CONTENT="5">

However, the auto refresh feature can get in the way at times as you cannot zoom into, or set any range value on collected statistics before the page reloads itself with default page settings.

If you would like to disable auto refresh feature of SmokePing, you can edit the following file.

For Debian/Ubuntu:

$ sudo vi /etc/smokeping/basepage.html

For any other systems:

$ sudo vi [SmokePing_installation_location]/etc/basepage.html

Either remove the following line, or replace "<##step##>" with any custom refresh period (in seconds).

<META HTTP-EQUIV="Refresh" CONTENT="<##step##>">

Subscribe to Xmodulo

Do you want to receive Linux FAQs, detailed tutorials and tips published at Xmodulo? Enter your email address below, and we will deliver our Linux posts straight to your email box, for free. Delivery powered by Google Feedburner.


Support Xmodulo

Did you find this tutorial helpful? Then please be generous and support Xmodulo!

The following two tabs change content below.
Dan Nanni is the founder and also a regular contributor of Xmodulo.com. He is a Linux/FOSS enthusiast who loves to get his hands dirty with his Linux box. He likes to procrastinate when he is supposed to be busy and productive. When he is otherwise free, he likes to watch movies and shop for the coolest gadgets.

Leave a comment

Your email address will not be published. Required fields are marked *