Operations 6 min read

How to Install and Use Scout_Realtime for Real‑Time Linux Server Monitoring

This step‑by‑step guide shows how to install Ruby, add the Scout_Realtime gem, start its daemon, configure firewall access, view real‑time metrics in a web browser, and manage logs, stopping or uninstalling the tool on Linux servers.

Liangxu Linux
Liangxu Linux
Liangxu Linux
How to Install and Use Scout_Realtime for Real‑Time Linux Server Monitoring

Overview

Scout_Realtime is a lightweight web‑based utility that visualizes Linux server metrics—including CPU, memory, disk, network, and the top ten processes—in real‑time charts similar to the classic top command.

Prerequisites

Ruby 1.9.3 or newer and the rubygems package must be present on the target machine.

Debian/Ubuntu: sudo apt-get install rubygems RHEL/CentOS: sudo yum -y install rubygems-devel Fedora 22+:

sudo dnf -y install rubygems-devel

Install Scout_Realtime

After Ruby is ready, install the monitoring tool via the gem command:

sudo gem install scout_realtime

Start the Daemon

Launch the Scout_Realtime daemon to begin collecting metrics: scout_realtime The daemon prints a few deprecation warnings, then reports “Daemon has started successfully”.

To view the web UI you have two options:

SSH tunnel : ssh -NL 5555:localhost:5555 user@ip_or_hostname then open http://localhost:5555 in a browser.

Open firewall port : sudo iptables -A INPUT -p tcp --dport 5555 -j ACCEPT (or the equivalent command for your distro) and open http://your‑ip‑or‑hostname:5555.

Firewall Configuration per Distribution

Debian/Ubuntu (UFW):

sudo ufw allow 5555
sudo ufw reload

RHEL/CentOS 6.x (iptables):

sudo iptables -A INPUT -p tcp --dport 5555 -j ACCEPT
sudo service iptables restart

RHEL/CentOS 7.x (firewalld):

sudo firewall-cmd --permanent --add-port=5555/tcp
sudo firewall-cmd reload

Accessing the UI

From any other machine, open a web browser and navigate to either:

http://localhost:5555
http://<em>ip‑address‑or‑domain</em>:5555

Log File

The daemon writes logs to ~/.scout/scout_realtime.log. View them with:

cat ~/.scout/scout_realtime.log

Stopping and Uninstalling

To stop the daemon: scout_realtime stop To remove the tool completely:

gem uninstall scout_realtime

Further Information

Additional details and source code are available in the Scout_Realtime GitHub repository.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

LinuxServer MonitoringTutorialRubyreal-time metricsScout_Realtime
Liangxu Linux
Written by

Liangxu Linux

Liangxu, a self‑taught IT professional now working as a Linux development engineer at a Fortune 500 multinational, shares extensive Linux knowledge—fundamentals, applications, tools, plus Git, databases, Raspberry Pi, etc. (Reply “Linux” to receive essential resources.)

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.