Skip to content

Instantly share code, notes, and snippets.

View FairyScript's full-sized avatar
🌙

FairyScript FairyScript

🌙
View GitHub Profile
@FairyScript
FairyScript / linux-http-tcp.md
Created October 20, 2019 10:47 — forked from v5tech/linux-http-tcp.md
linux下查看http 并发和 tcp连接数

linux查看httpd进程数

ps -ef | grep httpd | wc -l

查看Apache的并发请求数及其TCP连接状态

netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}'