Polecenie netstat
Opcje wykonania netstat
w konsoli
The first five options (-g, -i, -M, -r, and -s) determine what kind of information netstat should display.
Show multicast group memberships.
Show all network interfaces, or just the interface specified by name.
Show masqueraded connections.
Show kernel routing tables.
Show statistics for each protocol.
Show all entries.
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.
Display information continuously, refreshing once every second.
Print routing information from the route cache.
Increase level of detail in reports. Use twice for maximum detail.
Print routing information from the forward information database (FIB). This is the default.
Show only listening sockets.
Show network addresses, ports, and users as numbers.
Show host addresses as numbers, but resolve others.
Show ports as numbers, but resolve others.
Show user ID numbers for users, but resolve others.
Where possible, print symbolic host, port, or usernames instead of numerical representations. This is the default behavior.
Include information on network timers.
Show the process ID and name of the program owning the socket.
Limit report to information on TCP sockets.
Limit report to information on UDP sockets.
Verbose mode.
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ć until a terminal point is found (e.g., a file, directory, char device, etc.). If namei finds a symbolic link, it shows the link and starts following it, indenting the output to show the context co to jest.
- Przykład NETSTAT użycie :
- Jak użyć TCP/IP command. Query Internet domain nameservers. nslookup is deprecated; its functionality is replaced by the dig and host commands. nslookup may not be included in some distributions definicja.
- Przykład NETSTAT użycie :
- Jak użyć table in alphabetical order from one or more object files. If no object files are specified, perform operations on a.out . Output includes each symbol's value, type, size, name, and so on. A key co znaczy.
- Przykład NETSTAT użycie :
- Jak użyć command with its optional command arguments , continuing to run it even after you log out (make command immune to hangups—i.e., no h angup ). Terminal output is appended to the file nohup.out by słownik.
- Przykład NETSTAT użycie :
- Jak użyć administration command. Launch n kernel threads for the Network File System (NFS) kernel module. The threads will handle client filesystem requests. By default, only one thread is launched. Most znaczenie.