rtop monitors remote hosts via SSH
rtop is a direct, interactive remote system monitoring tool based on SSH that collects and displays important system performance indicators such as CPU, disk, memory and network indicators.
It is written in Go and does not require any additional programs to be installed on the server to be monitored, except for an SSH server and login credentials.
rtop basically collects various system performance information by starting an SSH session and executing certain commands on the remote server.
Once the SSH session is established, it refreshes the information collected from the remote server every few seconds (5 seconds by default), similar to all other top-like utilities in Linux (such as htop).
To install rtop make sure you have installed Go (GoLang) 1.2 or higher in Linux, otherwise please click the link below and follow the steps to install GoLang:
- Install GoLang (Go programming language) in Linux
If you already have Go installed, run the following command to build rtop:
$ go get github.com/rapidloop/rtop
After the command is completed, the rtop executable program will be saved in $GOPATH/bin or $GOBIN.
Building rtop in Linux
Note: No runtime environment or configuration is required to use rtop.
Trying to run rtop without any flags or parameters, the following message will be displayed:
$ $GOBIN/rtop
Example output:
rtop 1.0 - (c) 2015 RapidLoop - MIT Licensed - http://rtop-monitor.org rtop monitors server statistics over an ssh connection Usage: rtop [-i private-key-file] [user@]host[:port] [interval] -i private-key-file PEM-encoded private key file to use (default: ~/.ssh/id_rsa if present) [user@]host[:port] the SSH server to connect to, with optional username and port interval refresh interval in seconds (default: 5)
Now let us use rtop to monitor the remote Linux server. By default, the collected information is refreshed every 5 seconds:
$ $GOBIN/rtop aaronkilik@10.42.0.1
rtop – Monitor remote Linux hosts
The command will refresh the system performance indicators every 10 seconds:
$ $GOBIN/rtop aaronkilik@10.42.0.1 10
rtop can also use ssh-agent, key or password to authorize the connection.
- Visit rtop’s Github repository: https://github.com/rapidloop/rtop.
To summarize, rtop is an easy-to-use remote server monitoring tool that uses very few and straightforward options. You can improve your Linux performance monitoring skills by reading about other command line tools for monitoring systems in your server.
The above is the detailed content of rtop monitors remote hosts via SSH. For more information, please follow other related articles on the PHP Chinese website!

Artificial Intelligence (AI) is a term that’s been buzzing around for a while now, from self-driving cars to voice assistants like Siri and Alexa, AI is becoming a part of our everyday lives. But what exactly is AI, and why should Linux users care ab


For someone new to Linux, using it can still feel challenging, even with user-friendly distributions like Ubuntu and Mint. While these distributions simplify many tasks, some manual configuration is often required, but fully harnessing the power of L

In the previous article, we introduced the basics of AI and how it fits into the world of Linux. Now, it’s time to dive deeper and set up your Linux system to start building your first AI model. Whether you’re a complete beginner or have some exper

If you’re looking to manage your server with ease, Kloxo is a great option, as it is free and open-source web hosting control panel that allows you to manage your server and websites with a simple, user-friendly interface. In this guide, we’ll walk

If you’ve ever found yourself in a situation where you’re trying to move a bunch of files and folders, only to be stumped by spaces in the folder names, you’re not alone. Spaces in filenames or folder names can quickly become a frustrat

The KDE Plasma desktop is renowned for its sleek design, extensive customization options, and impressive performance. For users who appreciate a polished, modern interface with the flexibility to tweak every detail, Plasma is a dream come true. But w


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 Chinese version
Chinese version, very easy to use

SublimeText3 Linux new version
SublimeText3 Linux latest version

Dreamweaver Mac version
Visual web development tools

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.
