摘要: 查看逻辑cpu个数:cat /proc/cpuinfo | grep "processor" | wc -l 查看物理cpu个数:cat /proc/cpuinfo | grep "physical id" | sort | uniq | wc -l 查看每个物理cpu的核数cores:cat /p 阅读全文
posted @ 2017-03-10 16:33 littlewrong 阅读(4431) 评论(0) 推荐(0)
摘要: 安装成功! 输入:systemctl start nginx 来启动nginx。 输入:systemctl enable nginx 来设置nginx的开机启动(linux宕机、重启会自动运行nginx不需要连上去输入命令)。 nginx -s quit 关闭Nginx ps -ef|grep ng 阅读全文
posted @ 2017-03-10 13:40 littlewrong 阅读(283) 评论(0) 推荐(0)