RHEL6.5
---View the memory of the server:
[Email protected]/]# free-m
Total used free shared buffers Cached
mem:1870 1794 76 0 62 862
-/+ buffers/cache:868 1001
swap:4095 0 4095
---View server CPU information
[Email protected]/]# LSCPU
Architecture:x86_64
CPU Op-mode (s): 32-bit, 64-bit
Byte Order:little Endian
CPU (s): 1
On-line CPU (s) list:0
Thread (s) per core:1
Core (s) per socket:1
Socket (s): 1
NUMA node (s): 1
Vendor Id:genuineintel
CPU Family:6
model:58
Stepping:9
CPU mhz:3569.820
bogomips:7139.64
Hypervisor Vendor:vmware
Virtualization Type:full
L1D cache:32k
L1i cache:32k
L2 cache:256k
L3 cache:8192k
NUMA node0 CPU (s): 0
---View disk read and write performance of the server
[Email protected]/]# hdparm-t/DEV/SDA
/DEV/SDA:
Timing buffered disk reads:1952 MB in 3.00 seconds = 649.96 mb/sec
[Email protected]/]# ab-c 10-n http://linuxcast.net/linuxcast/index.php
This is apachebench, Version 2.3 < $Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus technology LTD, http://www.zeustech.net/
Licensed to the Apache software Foundation, http://www.apache.org/
Benchmarking linuxcast.net (Be patient)
Completed requests
Completed requests
Completed requests
Completed requests
Completed requests
Completed requests
Completed requests
Completed requests
Completed requests
Completed requests
Finished requests
Server software:apache/2.2.15
Server Hostname:linuxcast.net
Server port:80
Document Path:/linuxcast/index.php
Document length:0 bytes
Concurrency level:10
Time taken for tests:96.102 seconds
Complete requests:1000
Failed requests:0
Write errors:0
Non-2xx responses:1000
Total transferred:313000 bytes
HTML transferred:0 bytes
Requests per second:10.41 [#/sec] (mean)
Time per request:961.021 [MS] (mean)
Time per request:96.102 [MS] (mean, across all concurrent requests)
Transfer rate:3.18 [Kbytes/sec] Received
Connection Times (MS)
Min MEAN[+/-SD] Median max
connect:0 0 1.2 0 17
processing:463 959 60.5 958 1883
waiting:463 956 59.8 953 1883
total:463 959 60.8 958 1900
Percentage of the requests served within a certain time (MS)
50% 958
66% 974
75% 979
80% 981
90% 990
95% 1000
98% 1029
99% 1076
100% 1900 (Longest request)
[Email protected]/]#
This article is from the "Forest blog" blog, make sure to keep this source http://murongqingqqq.blog.51cto.com/2902694/1536536