📄 changelog
字号:
simple network top - a top-like console network status tool robert m love <rml@tech9.net> chris m rivera <cmrivera@ufl.edu>http://sntop.sourceforge.net - home pageftp://sntop.sourceforge.net/pub/sntop/ - anon ftp03.21.2001Change Logv1.4.3o fix lack of -a and -l flags (short versions of --alarm and --log)o merge FreeBSD ports upstream changes: - distribute manpage uncompressed - more strictly follow @prefix@ values: no hard coded pathsv1.4.2o fix lack of compliling for many people from 1.4.0's time.h change: we now use sys/time.h again, but this causes warnings for me with glibc 2.2 (thanks Fredrik Steen and many others)o fix two '-d' flags (thanks Fredrick Steen)v1.4.1o for whatever unknown reason sntop.h was not in the tarball. oddly enough, i use a script to package sntop. hmmpf.v1.4.0o added daemon mode, via --daemon and -d. makes sntop capable of running in the background.o README file added to tarballo fixed the warning-on-compile about time functions (in recent glibcs?) by moving the include from sys/time.h to time.h, does this break anyone?o moved -d to -e (--wfile)o add --byte and -b option to set fping ICMP ECHO packet size (patch by Fredrik Steen)v1.3.3:o fix dumb typo where sntop.c did not compile (Fredrik Steen)v1.3.2:o fping-alpha-deb does not like hardcoded packet size of 12, so we now use 24 -- its no big deal. (thanks Frederick Steen)o consolidated the various option flag variables into one using binary flags -- decreasing memory footprinto moved defines and funciton prototypes to a seperate header, sntop.ho manpage fixesv1.3.1:o '--help' incorectly showed the '--once' flag as '--only'o mixing '--once' and '--html' would create a html page with a refresh time of 0 (thanks Bob Otterson)o manpage correction (thanks hap)o returned the header bar to pre-1.3.0 styleo fix for longopts structureo we have confirmation that sntop works on Tru64 UNIX (Bob Otterson)o debs now available! (thanks Fredrik Steen)v1.3.0:o (finally!) added feature to execute command on site connectivity change. see '-l' and '-a' flags i wrote this 30,000ft in the air on a flight to philly. See the manpage and the sample alarm.sho added color support - ncurses color will now be used to display sntop in various colors, with UP sites in green and DOWN sites in red. this MAY not work on older curses implementations -- let us know. it is togglable via -c or --nocolor (much thanks to Ron Cooper)o the html automatic reload will now respect '-r' if giveno another e-mail fixo some cosmetic changes (Ron Cooper)o some little fixes and cleanups (it was a boring flight)v1.2.1:o fixed parse-error bug in Makefile (thanks Cristian)o generated html will refresh automatically (thanks Adi)o we now have are a FreeBSD port! see http://www.freebsd.org/cgi/ports.cgi?query=sntop&stype=all and ports/net/sntop thank you Matthew Emertono some e-mail and name fixesv1.2.0:o new configure script! run './configure' prior to makeo greater portability added with new configure scripto GNU-style long options now accepted (see --help or 'man sntop')o the generated html file now includes a timestamp (thanks Jeff Sofferin)o get() and load_config() optimizationsv1.1.5o we abort on failure to fork() or exec() now, so if (f)ping is not found, we exito max file path size increased again, this time 128->256o some minor improvements in the conf file processing routineo some minor improvements in the get() reading routineo small problem reading path (from environ) on some FreeBSD (and other?) platforms (thanks, again, Matthew Emmerton)o switched environ from a global to a local variableo added TODO filev1.1.4o forget to mention '-p' flag in usage syntax or man page (thanks Matthew Emmerton)v1.1.3o now works in FreeBSD (thanks Matthew Emmerton)o compile against ncurses instead of curseso file paths (to conf and html) have increased from 33 to 128 characters (thanks Piotr Klaban)o output format changed slightly (suggestions from Piotr Klaban, others)o option '-p' will use stock ping instead of fping, but note that using ping will be much slower than fpingo more Makefile changeso changed default refresh interval to 180 secondsv1.1.2o now works in OpenBSD (1.1.2 tested on OpenBSD 2.6)o Makefile now warns on exact directory erroro Makefile will not overwrite global /etc conf file if it existso (fixed) html display problem (thanks Frederic Tyndiuk)v1.1.1o renamed the project to sntop, we conflicted with the "other" ntopo added flag '-s': secure mode - disable interactive keys for a nice "run on any spare terminal" experiencev1.1.0:o added flag '-o': poll and display results once, then exito interactive command 'q' will quit cleaner now, preserving all of the sntop displayo manpage now included -- man sntopo renamed config file from sntop.conf to sntoprco sntoprc is now read from ~/.sntoprc (or what -f forces) and then from a system-wide config in /etc/sntoprc if that failsv1.0.5o get() optimizationso added 'fomit-frame-pointer' to the default build statementv1.0.4:o added interactive command 'w' to toggle ON/OFF html generationo inline comments now acceptable in the conf fileo trailing whitespace now ignored in the conf filev1.0.3:o added realtime interactive keyboard commands (r, q, etc)o (fixed) hf = fopen(...) if kept within start_html was evilo (fixed) reloading conf data would leak the last host recordo (fixed) although not manifested, there was a bug in the conf file buffer routinev1.0.2:o automatically generate an HTML file with the statuso catch SIGINT as to endwin() on CTRL-Co argument flags (r, f, v, h, w, d)o (fixed) if the conf file does not exist, the application locksv1.0.1:o optimize clear routine to clear only from third line downo Makefile supporting compile, clean, and installo replace system() with a custom fork/exec, glibc's disables interruptso use same-sized char arrays (otherwise implement intelligent strcpy's?)o strcpy(dest,src) -> strncpy(dest, src, 33) to protect buffero implement actual fpingo replace the hard coded loops using the conf fileo use a sntop.conf located in /etc for host informationv1.0o initial stable release
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -