freebsd-skq/usr.bin/netstat
bde 3ee0d09a44 Use a periodic itimer instead of repeated calls to alarm() in
sidewaysintpr().  This increases the accuracy of the per-interval
counts when they are interpreted as rates.  Repeated calls to alarm(n)
give an average interval that is about 2 ticks larger than n and has
a large variance.  Periodic itimers normally get the average almost
right but have similarly large variance (due to scheduling delays).

Statistics utilities should use clock_gettime() to determine the
actual interval, but it is still useful to maximize the accuracy of
the interval, especially for cases like netstat -w where counts are
displayed so the program cannot hide the inaccuracy in a rate
conversion.
2007-02-27 04:54:33 +00:00
..
atalk.c Achieve WARNS=2 by using uintmax_t to pass around 64-bit quantities, 2006-07-28 16:09:19 +00:00
bpf.c Add three new ioctl(2) commands for bpf(4). 2007-02-26 22:24:14 +00:00
if.c Use a periodic itimer instead of repeated calls to alarm() in 2007-02-27 04:54:33 +00:00
inet6.c Use sysctl(2), not kvm(3), to read IPv6 multicast information from 2007-02-24 21:58:30 +00:00
inet.c Reap FIN_WAIT_2 connections marked SOCANTRCVMORE faster. This mitigate 2007-02-26 22:25:21 +00:00
ipsec.c Don't shadow globals. 2006-11-27 19:50:50 +00:00
ipx.c - Achieve WARNS=3 by using sparse initializers or avoiding initializers at all. 2006-07-28 16:16:40 +00:00
main.c - Achieve WARNS=3 by using sparse initializers or avoiding initializers at all. 2006-07-28 16:16:40 +00:00
Makefile - Achieve WARNS=3 by using sparse initializers or avoiding initializers at all. 2006-07-28 16:16:40 +00:00
mbuf.c Achieve WARNS=2 by using uintmax_t to pass around 64-bit quantities, 2006-07-28 16:09:19 +00:00
mcast.c Update host-mode multicast group information output. 2007-02-21 13:59:21 +00:00
mroute6.c Use sysctl(2), not kvm(3), to read IPv6 multicast information from 2007-02-24 21:58:30 +00:00
mroute.c Use the names 'IPv4' and 'Forwarding Table' in program output, not 2007-02-24 21:56:52 +00:00
netgraph.c - Achieve WARNS=3 by using sparse initializers or avoiding initializers at all. 2006-07-28 16:16:40 +00:00
netstat.1 Markup fixes. 2006-09-29 15:20:48 +00:00
netstat.h Achieve WARNS=2 by using uintmax_t to pass around 64-bit quantities, 2006-07-28 16:09:19 +00:00
pfkey.c Don't shadow globals. 2006-11-27 19:50:50 +00:00
route.c Retire most of the classful network behaviour of netstat -r output, for IPv4. 2007-02-14 14:17:01 +00:00
unix.c Achieve WARNS=2 by using uintmax_t to pass around 64-bit quantities, 2006-07-28 16:09:19 +00:00