 
netstat ใน ลีนุกซ์ (Linux)
| |
ลีนุกซ์ (Linux) # netstat
คำสั่ง netstat |
คำสั่งแสดงสถานะของเครือข่ายว่ามีโปรแกรมใดเปิดให้บริการ หรือพอร์ทใดเปิดอยู่บ้าง netstat - Print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships | ตัวอย่างผลการใช้คำสั่ง netstat -a
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:mysql *:* LISTEN
tcp 0 0 *:http *:* LISTEN
tcp 0 0 *:ftp *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 *:smtp *:* LISTEN
tcp 0 0 *:https *:* LISTEN
tcp 0 0 www.isinthai.com:ssh 202.29.78.200:1225 ESTABLISHED
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 855 /var/lib/mysql/mysql.sock
unix 2 [ ACC ] STREAM LISTENING 119 /dev/log
unix 2 [ ] STREAM CONNECTED 3007
unix 2 [ ] STREAM CONNECTED 859 |
|
|
Linux Testing in Personal Computer
 |
|