服务器性能测试
Posted mountain2011
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了服务器性能测试相关的知识,希望对你有一定的参考价值。
★虚拟机服务器性能指标
Hyper-V Hypervisor Logical Processor(_Total)\% Total Run Time
Hyper-V Hypervisor Logical Processor(_Total)\% Guest Run Time
Hyper-V Hypervisor Logical Processor(_Total)\% Hypervisor Run Time
Hyper-V Virtual Storage Device(*)Error Count
Hyper-V Virtual Storage Device(*)Read Bytes/sec
Hyper-V Virtual Storage Device(*)Write Bytes/sec
Memory\% Committed Bytes In Use
MemoryAvailable MBytes
Memorypages/sec
Network Interface(*)Bytes Received/sec
Network Interface(*)Bytes Sent/sec
Network Interface(*)Output Queue Length
PhysicalDisk(*)Avg. Disk sec/Read
PhysicalDisk(*)Avg. Disk sec/Write
PhysicalDisk(_Total)Avg. Disk sec/Read
PhysicalDisk(_Total)Avg. Disk sec/Write
★管理服务器性能指标
.NET CLR Memory(*)*
LogicalDisk(*)*
Memory*
Network Interface(*)*
PhysicalDisk(*)*
Process(*)*
Processor(*)*
Server*
System*
1,创建Hyper-V服务器取性能脚本:
logman create counter hv -si 30 -o "C:PerfLogshv.blg" -c "Hyper-V Hypervisor Logical Processor(_Total)\%% Total Run Time" "Hyper-V Hypervisor Logical Processor(_Total)\%% Guest Run Time" "Hyper-V Hypervisor Logical Processor(_Total)\%% Hypervisor Run Time" "Hyper-V Virtual Storage Device(*)Error Count" "Hyper-V Virtual Storage Device(*)Read Bytes/sec" "Hyper-V Virtual Storage Device(*)Write Bytes/sec" "Memory\%% Committed Bytes In Use" "MemoryAvailable MBytes" "Memorypages/sec" "Network Interface(*)Bytes Received/sec" "Network Interface(*)Bytes Sent/sec" "Network Interface(*)Output Queue Length" "PhysicalDisk(*)Avg. Disk sec/Read" "PhysicalDisk(*)Avg. Disk sec/Write" "PhysicalDisk(_Total)Avg. Disk sec/Read" "PhysicalDisk(_Total)Avg. Disk sec/Write"
2,开始取性能
logman start hv
3,关闭取性能
logman stop hv
取一般服务器性能:
logman create counter vm -si 30 -o "C:PerfLogsvm.blg" -c ".NET CLR Memory(*)*" "LogicalDisk(*)*" "Memory*" "Network Interface(*)*" "PhysicalDisk(*)*" "Process(*)*" "Processor(*)*" "Server*" "System*"
以上是关于服务器性能测试的主要内容,如果未能解决你的问题,请参考以下文章