码迷,mamicode.com
首页 > 其他好文 > 详细

服务器性能测试

时间:2019-10-18 17:27:04      阅读:119      评论:0      收藏:0      [点我收藏+]

标签:system   top   ora   关闭   write   ace   服务器   脚本   err   

★虚拟机服务器性能指标

\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
 \Memory\Available MBytes
 \Memory\pages/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:\PerfLogs\hv.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" "\Memory\Available MBytes" "\Memory\pages/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:\PerfLogs\vm.blg" -c "\.NET CLR Memory(*)\*" "\LogicalDisk(*)\*" "\Memory\*" "\Network Interface(*)\*" "\PhysicalDisk(*)\*" "\Process(*)\*" "\Processor(*)\*" "\Server\*" "\System\*"

服务器性能测试

标签:system   top   ora   关闭   write   ace   服务器   脚本   err   

原文地址:https://www.cnblogs.com/mountain2011/p/4190131.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!