Skip to content

Instantly share code, notes, and snippets.

View saltbo's full-sized avatar
🎯
Focusing

Jasper Van saltbo

🎯
Focusing
View GitHub Profile
@saltbo
saltbo / linux-http-tcp.md
Created November 14, 2019 06:55 — 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]}'