Commit Graph

5 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 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
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
Rodney W. Grimes 9b50d90275 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00