Commit Graph

23 Commits

Author SHA1 Message Date
David Greenman
1b72e71cc2 Fixed netstat to not bogusly mangle the argv[] command args by rewriting
the way it stores and handles "interface". The previous behavior resulted
in strange output from 'w' and 'ps' when an interface specification was
given to netstat.
1995-09-23 15:04:28 +00:00
David Greenman
3aa80b1d81 Output statistics as unsigned in the -w section.
Look at error return of kread() and stop on error.
Fix warning in kread() to not output "kvm_read:" twice.
Killed PCB cache misses stat as we no longer have it.
1995-07-29 22:34:15 +00:00
David Greenman
89d7f49a31 Add "connections dropped by persist timeout" statistic. 1995-07-29 18:49:16 +00:00
Bruce Evans
7e4a866916 Instantiate our own variables instead of depending on bogus common
declarations in system headers that will be fixed soon.
1995-07-12 19:21:36 +00:00
Garrett Wollman
7b4315a73a Correct spelling mistake: upcated -> updated. 1995-06-19 16:55:16 +00:00
Garrett Wollman
861b18288b Print out the statistics for cache updates of rtt, rttvar, and ssthresh. 1995-06-19 16:46:21 +00:00
Garrett Wollman
ef105c25f6 Re-write `netstat -g' code to match the 3.5 data structures. 1995-06-13 19:18:40 +00:00
Rodney W. Grimes
7799f52a32 Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
David Greenman
a9d6f1a78d That's what I get for doing things in a hurry...applied up-to-date patch
to this file rather than old one (before I renamed the structure element).
1995-04-09 15:12:21 +00:00
David Greenman
fe9cff485b Oops, remove some chaff from previous commit. 1995-04-09 05:34:54 +00:00
David Greenman
7452c2a5ef Updated netstat to grok 4.4 QUEUE macros now being used to like the PCBs
together.
1995-04-09 05:33:17 +00:00
Jordan K. Hubbard
d31b19afb1 The negative expire times shown by netstat are confusing and ugly.
Destination      Gateway            Flags     Refs     Use     Netif Expire
199.182.75.128   link#1             UC          0        0       ed0 -842660
Submitted by:	John Capo <jc@irbs.com>
1995-04-06 06:09:44 +00:00
David Greenman
c585f97c65 Changed "mapped pages in use" to "mbuf clusters in use". 1995-02-23 19:08:11 +00:00
Garrett Wollman
9a94a59774 Make netstat report the correct state for T/TCP.
Submitted by: Andras Olah <olah@cs.utwente.nl>
1995-02-14 03:09:51 +00:00
Garrett Wollman
51e7d42c56 Don't print protocol-cloned routes by default (enabled by -a flag).
Print non-zero expiration timers.
Use err(3) for error reporting.
1995-01-23 20:19:16 +00:00
Garrett Wollman
c70b84bd3c Document new route flags. 1994-12-14 18:55:01 +00:00
Garrett Wollman
a7c7761f65 Make it possible to correctly print out new route flags, and do so. 1994-12-13 22:34:34 +00:00
David Greenman
e1e293a5dc Added '-b' option to display the number of in and out bytes on a given
interface (used with -i and -I flag).
1994-10-12 02:37:35 +00:00
Garrett Wollman
7b46dd001d Document router advertisement and solicitation messages in ICMP input
histogram.
1994-10-02 18:45:32 +00:00
Garrett Wollman
19bd7f946a Tell netstat about the new multicast forwarding statistics. For the moment,
don't try to do any multicast forwarding cache printouts; it's not clear
that netstat can do anything particularly useful or meaningful.
1994-09-08 00:07:12 +00:00
David Greenman
541f256275 Changed output formatting to 0 pad hex bytes if necessary. This makes
the output consistent with traditional representations of ethernet
addresses. I still don't like the spacing in netstat -i, however.
1994-08-05 12:38:06 +00:00
David Greenman
b3bfc7199e Converted 'vmunix' to 'kernel'. 1994-08-05 09:14:37 +00:00
Rodney W. Grimes
9b50d90275 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00