性能检测工具
2016-04-07 15:15
162 查看
网站压力检测
ab -c 10 -n 100 http://192.168.80.85/index.html 十个用户每个用户发100个请求
Server Hostname: 192.168.80.85
Server Port: 80
Document Path: /index.html
Document Length: 8 bytes
Concurrency Level: 10 十个用户请求
Time taken for tests: 0.026 seconds
Complete requests: 100 每个用户100个请求
Failed requests: 0
Write errors: 0
Total transferred: 27573 bytes
HTML transferred: 808 bytes
Requests per second: 3858.92 [#/sec] (mean) 共处了 3858.92
Time per request: 2.591 [ms] (mean)
Time per request: 0.259 [ms] (mean, across all concurrent requests) 处理时间 0.259
Transfer rate: 1039.08 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 1 0.2 1 2
Processing: 1 1 0.3 1 2
Waiting: 0 1 0.3 1 2
Total: 2 2 0.2 2 2
Percentage of the requests served within a certain time (ms)
50% 2
66% 2
75% 2
80% 2
90% 2
95% 2
98% 2
99% 2
100% 2 (longest request)
uptime 查看cpu
top 查看硬件使用情况
vmstat 查看IO 和cpu内存
yum install vmstat -y
vnstat 查看网卡流量
yum install vnstat -y
vnstat -l -i eth0
iostat查看磁盘
yum install sysstat
iostat -x -k
iostat
查看内存
feer -m
查看CPU
sar -u 1 2
查看硬盘
sar -d 1 2
ab -c 10 -n 100 http://192.168.80.85/index.html 十个用户每个用户发100个请求
Server Hostname: 192.168.80.85
Server Port: 80
Document Path: /index.html
Document Length: 8 bytes
Concurrency Level: 10 十个用户请求
Time taken for tests: 0.026 seconds
Complete requests: 100 每个用户100个请求
Failed requests: 0
Write errors: 0
Total transferred: 27573 bytes
HTML transferred: 808 bytes
Requests per second: 3858.92 [#/sec] (mean) 共处了 3858.92
Time per request: 2.591 [ms] (mean)
Time per request: 0.259 [ms] (mean, across all concurrent requests) 处理时间 0.259
Transfer rate: 1039.08 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 1 0.2 1 2
Processing: 1 1 0.3 1 2
Waiting: 0 1 0.3 1 2
Total: 2 2 0.2 2 2
Percentage of the requests served within a certain time (ms)
50% 2
66% 2
75% 2
80% 2
90% 2
95% 2
98% 2
99% 2
100% 2 (longest request)
uptime 查看cpu
top 查看硬件使用情况
vmstat 查看IO 和cpu内存
yum install vmstat -y
vnstat 查看网卡流量
yum install vnstat -y
vnstat -l -i eth0
iostat查看磁盘
yum install sysstat
iostat -x -k
iostat
查看内存
feer -m
查看CPU
sar -u 1 2
查看硬盘
sar -d 1 2
相关文章推荐
- react-native-闪屏页
- "algorithms 4th"---symbol table
- bzoj 3161: 孤舟蓑笠翁 bfs
- Ehcache(02)——ehcache.xml简介
- Hibernate 多对多双向关联
- 指针数组,指针指向const成员函数
- Linux下安装Monogodb-3.2.4
- 十六进制字符串转化成字符串输出HexToStr(Delphi版、C#版)
- 执行session.createSQLQuery(querySql).list()多次后,再次执行没有动静
- 从一个简单的实例来了解PE文件
- Oracle数据库 Null值 总结
- 剑指offer:二叉树的下一个结点
- 【程序猿人生】关爱程序猿 从此刻开始!
- System.load 和 System.loadLibrary详解
- adb工具使用
- Ehcache项目启动时报Update check failed异常的解决方法
- Delphi 实现16进制转字符串及字符串(中文)转16进制
- 理解 Javascript 的闭包
- 3、Object对象的两大方法(hashCode-equals)总结
- Android高级控件----AdapterView与Adapter