.\" -*- nroff -*- .\" .\" sntop.1 .\" .\" Author: Robert M. Love , Chris M. Rivera .\" Author: Fredrik Steen .\" .\" Copyright (C) Robert M. Love and Chris M. Rivera .\" Copyright (C) 2008 Fredrik Steen .\" .\" Created: Tue Jul 18 2000 .\" .Dd October 22, 2008 .Dt SNTOP 1 .Sh NAME .Nm sntop .Nd top-like console network status tool .Sh SYNOPSIS .Nm sntop .Op options .Sh DESCRIPTION .Nm (simple network top) is a console utility, in the spirit of top, that polls a list of hosts at a regular interval to determine if they are online, displaying the results in a formatted table. This list is read on load from a config file, sntoprc, located (by default) in ~/ or /etc. The polling is done via ICMP .Cm ping (1) . .Pp Optionally, the results can be used to generate an html page or ellicit the execution of a file. .Pp Interactive run-time commands exist: .Pp .Cm q - quit .Pp .Cm r - reload config file .Pp .Cm w - toggle html page generation .Pp .Cm any other key - force a refresh .Sh COMMAND-LINE PARAMETERS .Pp .Cm -d, --daemon - daemon mode: make sntop capable of running in the background. note, it wont automatically fork into the background. .Pp .Cm -o, --once - poll and display results once, then exit .Pp .Cm -c, --nocolor - toggle the use of ncurses color for pretty formatting .Pp .Cm -p, --ping - use 'ping' in lieu of 'fping'. note, ping (in particular on DOWN hosts) is slower than fping -- the performance of sntop will suffer. .Pp .Cm -w, --html - generate html output of results .Pp .Cm -s, --secure - secure mode. command keys are disabled. SIGINT must be used to terminate the program. this allows sntop to run nicely on spare terminals galore. something like the following in .Pa /etc/passwd can facilitate that: .Pp .Cm sntop:x:123:123:sntop:/:/usr/local/bin/sntop -s .Pp .Cm -e , --wfile=file - output html to instead of sntop.html .Pp .Cm -f , --conf=file - read conf data from instead of ~/.sntoprc. note, sntop will still try to read from /etc/sntoprc if fails. if both fail, sntop will exit. .Pp .Cm -r