Differences in the use of netstat in linux and bsd systems
Source: Internet
Author: User
The use of netstat in linux and bsd systems is somewhat different. to put it simply, common netstat commands and parameters in linux are as follows: # netstat-tunpl-ttcp-uudp-n only displays the number address, this will greatly speed up netstat-l is listening while bsd or macos...
The use of netstat in linux and bsd systems is somewhat different. to put it simply, common netstat commands and parameters in linux are as follows: # netstat-tunpl-t tcp-u udp-n only displays the number address, this will greatly speed up netstat-l is listening to netstat: # netstat-f inet-n-p tcp-f address_family in bsd or macos, so that inet, inet6, unix-n Show network addresses as numbers-p protocol. The protocol name can be found in/etc/protocols. tcp is usually used, generally, udp and other parameters above are enough. if the requirements cannot be met at some time, man netstat just takes a look. author ltl3884
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.