默默的一块石头
发布时间:2021-12-22 15:31:55
测试环境:1.ubuntu 18.042.nginx-1.15.6实验:1.基于nginx-1.15.6添加debug code static int lucount = 0;ngx_http_upstream_round_robin.cstatic ngx_http_upstream_rr_peer_t *ngx_http_upstream_get_peer(ngx_peer_connection_t *pc,ngx_http_upstream_rr_peer_data_t *rrp){ time_t .........【阅读全文】
发布时间:2021-12-08 11:26:05
# 查看物理CPU个数cat /proc/cpuinfo|grep "physical id"|sort -u|wc -l# 查看每个物理CPU中core的个数(即核数) cat /proc/cpuinfo|grep "cpu cores"|uniq# 查看逻辑CPU的个数cat /proc/cpuinfo|grep "processor"|wc -l# 查看CPU的名称型号cat /proc/cpuinfo|grep "name"|cut -f2 -d:|uniqLinux查看某个进程.........【阅读全文】