mirror of
https://github.com/hukl/freebsd-toolbox.git
synced 2025-11-20 03:08:43 +01:00
Update commands.md
This commit is contained in:
@ -115,6 +115,7 @@ netstat -an # display all connections
|
|||||||
netstat -m # display buffer usage
|
netstat -m # display buffer usage
|
||||||
netstat -Lan # display status of listen queues
|
netstat -Lan # display status of listen queues
|
||||||
netstat -s # display extensive statistics per protocol (use -p tcp to only show tcp)
|
netstat -s # display extensive statistics per protocol (use -p tcp to only show tcp)
|
||||||
|
sockstat -l # display listening sockets, process names and pids
|
||||||
sysctl kern.ipc.numopensockets # display number of open sockets
|
sysctl kern.ipc.numopensockets # display number of open sockets
|
||||||
vmstat -z | egrep "ITEM|tcpcb" # number of hash table buckets to handle incoming tcp connections
|
vmstat -z | egrep "ITEM|tcpcb" # number of hash table buckets to handle incoming tcp connections
|
||||||
increase net.inet.tcp.tcbhashsize if hitting the limit
|
increase net.inet.tcp.tcbhashsize if hitting the limit
|
||||||
|
|||||||
Reference in New Issue
Block a user