1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169
|
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 page
ftp://sntop.sourceforge.net/pub/sntop/ - anon ftp
03.21.2001
Change Log
v1.4.3
o 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 paths
v1.4.2
o 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.1
o for whatever unknown reason sntop.h was not in the tarball. oddly enough,
i use a script to package sntop. hmmpf.
v1.4.0
o added daemon mode, via --daemon and -d. makes sntop capable of
running in the background.
o README file added to tarball
o 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 footprint
o moved defines and funciton prototypes to a seperate header, sntop.h
o manpage fixes
v1.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 style
o fix for longopts structure
o 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.sh
o 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 given
o another e-mail fix
o 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 Emerton
o some e-mail and name fixes
v1.2.0:
o new configure script! run './configure' prior to make
o greater portability added with new configure script
o 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() optimizations
v1.1.5
o we abort on failure to fork() or exec() now, so if (f)ping is
not found, we exit
o max file path size increased again, this time 128->256
o some minor improvements in the conf file processing routine
o some minor improvements in the get() reading routine
o 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 variable
o added TODO file
v1.1.4
o forget to mention '-p' flag in usage syntax or man page (thanks Matthew
Emmerton)
v1.1.3
o now works in FreeBSD (thanks Matthew Emmerton)
o compile against ncurses instead of curses
o 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 fping
o more Makefile changes
o changed default refresh interval to 180 seconds
v1.1.2
o now works in OpenBSD (1.1.2 tested on OpenBSD 2.6)
o Makefile now warns on exact directory error
o Makefile will not overwrite global /etc conf file if it exists
o (fixed) html display problem (thanks Frederic Tyndiuk)
v1.1.1
o renamed the project to sntop, we conflicted with the "other" ntop
o added flag '-s': secure mode - disable interactive keys for a nice "run on
any spare terminal" experience
v1.1.0:
o added flag '-o': poll and display results once, then exit
o interactive command 'q' will quit cleaner now, preserving all of the sntop
display
o manpage now included -- man sntop
o renamed config file from sntop.conf to sntoprc
o sntoprc is now read from ~/.sntoprc (or what -f forces) and then from a
system-wide config in /etc/sntoprc if that fails
v1.0.5
o get() optimizations
o added 'fomit-frame-pointer' to the default build statement
v1.0.4:
o added interactive command 'w' to toggle ON/OFF html generation
o inline comments now acceptable in the conf file
o trailing whitespace now ignored in the conf file
v1.0.3:
o added realtime interactive keyboard commands (r, q, etc)
o (fixed) hf = fopen(...) if kept within start_html was evil
o (fixed) reloading conf data would leak the last host record
o (fixed) although not manifested, there was a bug in the conf file buffer routine
v1.0.2:
o automatically generate an HTML file with the status
o catch SIGINT as to endwin() on CTRL-C
o argument flags (r, f, v, h, w, d)
o (fixed) if the conf file does not exist, the application locks
v1.0.1:
o optimize clear routine to clear only from third line down
o Makefile supporting compile, clean, and install
o replace system() with a custom fork/exec, glibc's disables interrupts
o use same-sized char arrays (otherwise implement intelligent strcpy's?)
o strcpy(dest,src) -> strncpy(dest, src, 33) to protect buffer
o implement actual fping
o replace the hard coded loops using the conf file
o use a sntop.conf located in /etc for host information
v1.0
o initial stable release
|