目录
硬件配置
1.型号
[root@nginx2 ~]# dmidecode | grep "Product Name"
Product Name: KVM
2.服务器CPU
[root@nginx2 ~]# cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq
Intel Core Processor (Skylake)
3.查看内存
[root@nginx2 ~]# dmidecode|grep -P -A5 "Memory\s+Device" | grep Size |grep -v Range | cat -n
1 Size: 1024 MB
软件环境
1.操作系统
[root@nginx2 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.4 (Maipo)
2.服务版本
[root@nginx2 ~]# /usr/local/nginx/sbin/nginx -v
nginx version: nginx/1.10.3
3.测试软件
[root@http ~]# ab -V
This is ApacheBench, Version 2.3 <$Revision: 1430300 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
测试并发