Skip to content

Instantly share code, notes, and snippets.

@v5tech
v5tech / linux-http-tcp.md
Last active February 3, 2023 07:13
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]}'
@Mrshcom
Mrshcom / gist:3992304
Created November 1, 2012 07:21 — forked from AliMD/gist:3865955
Create A Somple Product Catalog width Wordpress.

ali.md/pcwp

Step One: Create the custom post type

The following code goes into the functions.php file:

// Create A Somple Product Catalog width Wordpress. ali.md/pcwp
// Step One: Create the custom post type