summaryrefslogtreecommitdiff
path: root/usr.bin/netstat/netstat.1
AgeCommit message (Collapse)Author
2022-12-21Add note about "netstat -mssv".msaitoh
2022-01-07mention ifmcstat(8) in SEE ALSO.bad
2020-07-21netstat.1: add various xrefs present in the body to "See Also"gutteridge
2016-05-12Remove duplicate routing flag listozaki-r
We alreay have it in route(8) and shouldn't have another one. (Actually the removed list is forgot to be updated.)
2015-03-23Add RTF_BROADCAST to mark routes used for the broadcast address whenroy
they are created on the fly. This makes it clear what the route is for and allows an optimisation in ip_output() by avoiding a call to in_broadcast() because most of the time we do talk to a host. It also avoids a needless allocation for the storage of llinfo_arp and thus vanishes from arp(8) - it showed as incomplete anyway so this is a nice side effect. Guard against this and routes marked with RTF_BLACKHOLE in ip_fastforward(). While here, guard against routes marked with RTF_BLACKHOLE in ip6_fastforward(). RTF_BROADCAST is IPv4 only, so don't bother checking that here.
2015-02-26Document RTF_LOCALroy
2014-10-11Give flag argument in description. Add two articles.wiz
2014-10-11- Explicitly describe that kvm(3) is used when -M/-N option is used sinceenami
nowadays sysctl(3) is the default information retrieval method. - Fix description about default value for -N; it is no longer a single value these days, so just say see kvm_openfiles(3) rahter than repeating several lines description here.
2014-10-09As described in kvm_openfiles(3), default core file is not /dev/kmemenami
but /dev/mem. Actually, passing /dev/kmem to -M doesn't work.
2013-10-18Make the -f option accept multiple address families.bad
Bump man page date.
2013-03-01Retire OSI network stack. OK core@joerg
2012-10-19Add -t flag.msaitoh
2012-10-19Add note about -l option. Fixes PR#47085 reported by Julian Fagir.msaitoh
2012-09-25Sort -h option properly (not between -I and -i)pgoyette
XXX Should the date be updated?
2011-11-11Move RTF_ANNOUNCE flag so that it no longer conflicts with RTF_PROTO2.gdt
RTF_ANNOUNCE was defined as RTF_PROTO2. The flag is used to indicated that host should act as a proxy for a link level arp or ndp request. (If RTF_PROTO2 is used as an experimental flag (as advertised), various problems can occur.) This commit provides a first-class definition with its own bit for RTF_ANNOUNCE, removes the old aliasing definitions, and adds support for the new RTF_ANNOUNCE flag to netstat(8) and route(8)., Also, remove unused RTF_ flags that collide with RTF_PROTO1: netinet/icmp6.h defined RTF_PROBEMTU as RTF_PROTO1 netinet/if_inarp.h defined RTF_USETRAILERS as RTF_PROTO1 (Neither of these flags are used anywhere. Both have been removed to reduce chances of collision with RTF_PROTO1.) Figuring this out and the diff are the work of Beverly Schwartz of BBN. (Passed release build, boot in VM, with no apparently related atf failures.) Approved for Public Release, Distribution Unlimited This material is based upon work supported by the Defense Advanced Research Projects Agency and Space and Naval Warfare Systems Center, Pacific, under Contract No. N66001-09-C-2073.
2011-06-21New sentence, new line.wiz
2011-06-21add a sentence regarding multiple tagskefren
2010-12-06Insert word "mbuf" to description of -m (so you can search for it).pooka
No functional change.
2010-06-30Bump date for previous (mpls).wiz
2010-06-29Add mpls into family address listkefren
2010-06-27Add -T flag, that shows tags in route outputkefren
2010-02-24Add -h, which makes output of bytes counts "humanized" (e.g. -bih)pooka
(netstat had -h some 15 years ago, but since then it has been just a fancy way of calling usage())
2009-09-13Fix section for sysctl xref (it is 3, not 2).wiz
2009-09-13Checkin work in progress to make netstat use sysctl rather than kvm(3).elad
This commit mostly adds code written by Claudio Jeker for OpenBSD to support sysctl in the interface printing parts (-i, -I, -w). The port has been ported to NetBSD with tiny adjustments -- of course all bugs etc. are mine. Also add and document a -X flag to force sysctl usage. The documentation notes this flag may be removed at any time and its presence should not be relied on. Some misc. comments/#ifdef changes/code snippet moves as well. Please note that no functionality should change as the routing and interface printing code is still not fully supported. Mailing list reference: http://mail-index.netbsd.org/tech-userlevel/2009/09/09/msg002604.html
2009-06-28Fix typodholland
2009-05-28fix typo (Silas Silva)christos
2009-03-11Fix markupjoerg
2009-02-14Sort option descriptions, and options in usage.wiz
Covers PR 40627.
2007-08-30bump datejnemeth
2007-08-30PR/36867 - Zafer Aydogan -- trsp is no longerjnemeth
2007-07-30Add xref to sockstat, from Zafer Aydogan in PR misc/36706.pavel
Bump date.
2005-12-28Bump date for previous.rpaulo
2005-12-28Explain the netstat -B flag column.rpaulo
2005-09-11Punctuation fix. From YOMURA Masanori in private mail.wiz
2005-09-11Argument is address_family, not "address family". From YOMURA Masanori in ↵wiz
private mail.
2005-08-06Explained how -B works and how it works in conjunction with -I or -s.rpaulo
Reviewed by wiz@
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-03-02TF_PROTO1/2 mixup. from itou makotoitojun
2003-02-25.Nm does not need a dummy argument ("") before punctuation orwiz
for correct formatting of the SYNOPSIS any longer.
2003-02-04"Utilize" has exactly the same meaning as "use," but it is moreperry
difficult to read and understand. Most manuals of English style therefore say that you should use "use".
2002-09-30New sentence, new line.grant
2002-07-03Introduce -q flag to print some information (like number of packets droppedenami
due to queue full) about software interrupt queues such as ipintrq.
2002-07-02Sync SYNOPSIS and usage() with reality.soren
2001-12-01Whitespace cleanup.wiz
2001-09-03Cross-reference fstat(1)sommerfeld
2001-05-28typoitojun
2001-05-28add `-s' that prints port numbers symbolically but addresses numericallyassar
2001-05-06Change xref for vmstat(8) to vmstat(1).wiz
Whitespace, punctuation and spelling fixes while I'm here.
2001-01-27mark cloned routes with RTF_CLONED. present it with netstat -r by "c".itojun
let static routes overwrite cloned routes, as cloned routes can come back again if necessary. behavior same as freebsd/bsdi, code partially from bsdi42. (NRL rt->rt_parent was not added) should fix PR 11916 and maybe some other PRs with ARP behavior. recompilation of usr.sbin/route6d is suggested.
2000-08-15Add kernel counters for arp events, displayable with netstat -s -f arpjhawk