LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

sntop

Simple network top for monitoring host connectivity

TLDR

Monitor hosts defined in the default config
$ sntop
copy
Poll hosts from a custom config every 10 seconds
$ sntop -r 10 -f [/path/to/hosts.conf]
copy
Generate an HTML status page
$ sntop -w -e [/var/www/status.html]
copy

SYNOPSIS

sntop [-d] [-o] [-c] [-r time] [-f file] [-a file] [-l file]

DESCRIPTION

sntop is an ncurses-based console utility that polls a list of hosts at regular intervals using fping or ping and displays their online/offline status in a top-like table. It supports HTML generation, daemon mode, alarm script execution on host status changes, and color output.

PARAMETERS

-r TIME

Set the polling interval in seconds.
-f FILE
Use a custom hosts configuration file.
-w
Enable HTML output mode.
-d
Run in daemon mode.

INSTALL

sudo apt install sntop
copy
brew install sntop
copy

HISTORY

sntop was created by Robert M. Love and Chris M. Rivera and is written in C.

SEE ALSO

fping(1), ping(1), trippy(1)

Copied to clipboard
Kai