Co robi NETSTAT użycie. Konsola interfaces, masquerade connections, or multicast memberships. By.

Czy przydatne?

Polecenie netstat

Wykonanie, użycie: TCP/IP command. Show network status. Print information on active sockets, routing tables, interfaces, masquerade connections, or multicast memberships. By default, netstat lists open sockets. When a delay is specified, netstat will print new information every delay seconds

Opcje wykonania netstat w konsoli

The first five options (-g, -i, -M, -r, and -s) determine what kind of information netstat should display.

-g, --groups

Show multicast group memberships.

-i, --interface[=name]

Show all network interfaces, or just the interface specified by name.

-M, --masquerade

Show masqueraded connections.

-r, --route

Show kernel routing tables.

-s, --statistics

Show statistics for each protocol.

-a, --all

Show all entries.

-A family, --protocol=family

Show connections only for the specified address family. Accepted values are inet, unix, ipx, ax25, netrom, and ddp. Specify multiple families in a comma-separated list.

-c, --continuous

Display information continuously, refreshing once every second.

-C

Print routing information from the route cache.

-e, --extend

Increase level of detail in reports. Use twice for maximum detail.

-F

Print routing information from the forward information database (FIB). This is the default.

-l, --listening

Show only listening sockets.

-n, --numeric

Show network addresses, ports, and users as numbers.

--numeric-hosts

Show host addresses as numbers, but resolve others.

--numeric-ports

Show ports as numbers, but resolve others.

--numeric-users

Show user ID numbers for users, but resolve others.

-N, --symbolic

Where possible, print symbolic host, port, or usernames instead of numerical representations. This is the default behavior.

-o, --timers

Include information on network timers.

-p, --program

Show the process ID and name of the program owning the socket.

-t, --tcp

Limit report to information on TCP sockets.

-u, --udp

Limit report to information on UDP sockets.

-v, --verbose

Verbose mode.

-w, --raw

Limit report to information on raw sockets.

Przykłady netstat działanie w Słownik polecenie N

Przykład NETSTAT użycie :
Jak użyć Internet domain nameserver. named is used by resolver libraries to provide access to the Internet distributed naming database. With no arguments, named reads /etc/named.conf for any initial data and co znaczy.
Przykład NETSTAT użycie :
Jak użyć Change user's group ID to the specified group. If no group is specified, change to the user's login group. The new group is then used for checking permissions krzyżówka.
Przykład NETSTAT użycie :
Jak użyć with its arguments ) with lower priority (i.e., be nice to other users). With no command, nice prints the current scheduling priority (niceness). If nice is a child process, it prints the parent co to jest.
Przykład NETSTAT użycie :
Jak użyć aliases database, /etc/aliases , after a change. Return 0 on success, or a number greater than 0 if there was an error. newaliases must be run whenever /etc/aliases has been changed for the change to słownik.
Przykład NETSTAT użycie :
Jak użyć administration command. Interactively submit dynamic DNS update requests to a nameserver. Use nsupdate to add or remove records from a zone without manually editing the zone file. Commands may be czym jest.