Netstat display statistics for the current network connection

Source: Internet
Author: User

C:\users\administrator\desktop\hsqldb-2.3.2\data>netstat-h

Displays protocol statistics and current TCP/IP network connections.

NETSTAT [-A] [-b] [-e] [-f] [-n] [-O] [-P proto] [-r] [-S] [-t] [interval]

-a displays all connections and listening ports. Show all connections and listening ports

-B Displays the executable (executable file) involved in creating each connection or listening port. Displays the executable file used to create each connection or port

In some cases well-known executables host multiple independent There are cases where some well-known executables are associated with multiple independent components

And in these cases the sequence of components involved in creating the connection or listening port is displayed.

The executable name is in [] at the bottom,

On top is the component it called,

And so forth until TCP/IP was reached.

Note that this option can be time-consuming and would fail unless you have sufficient permissions.

-e Displays Ethernet statistics. This is combined with THE-S option.

-F Displays Fully qualified Domain Names (FQDN) for foreign addresses.

-N displays addresses and port numbers in numerical form.

-O Displays the owning process ID associated with each connection. Show the process ID associated with each connection

-p proto shows connections for the protocol specified by Proto; Proto May is any of:tcp, UDP, TCPv6, or UDPV6.

Displays the connection for the specified protocol

If used with THE-S option to display Per-protocol statistics,

Proto May is any of:ip, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPV6.

-r Displays the routing table. Show route Table

-S displays per-protocol statistics. Show statistics for each protocol

By default, statistics is shown for IP, IPV6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6;

The-p option May is used to specify a subset of the default.

-T displays the current connection offload state. Displays the uninstall status of the active connection

Interval Redisplays selected statistics, pausing interval seconds between each display.

Specify the number of seconds between intervals, display the statistics again, and do not specify only one time

Press CTRL + C to stop redisplaying statistics.

If omitted, Netstat would print the current configuration information once.

Netstat display statistics for the current network connection

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.