- vSphere High Performance Cookbook(Second Edition)
- Kevin Elder Christopher Kusek Prasenjit Sarkar
- 302字
- 2021-07-02 20:59:56
How to do it…
To monitor a host-swapping activity in vSphere Web Client, view the Performance screen. A few useful counters are Swapped, Swap In, and Swap Out. These counters represent total swapping of a virtual machine on the host.
To see the swapping activity of a single VM in action, perform the following steps:
- Open vSphere Web Client.
- Log in to your vCenter Server.
- On your Home screen, select Hosts and Clusters.
- Choose memory-hungry VM.
- Go to the Monitor tab, then the Performance tab and click on Advanced.
- Switch the view to Memory.
- Click on Chart Options.
- Select the three counters: Swapped, Swap in Rate in KBps, and Swap Out Rate in KBps.
- Click on OK. Now you should see something similar to the following image if there are swapping activities on your VM:

In the preceding example, you can see that this VM swapped out 82108 KB, and its Swap Out rate was 682 KBps and Swap In was 30 KBps.
Now to see the overall swapped activity for all VMs on a single ESXi Server, perform the following steps:
- Open vSphere Web Client.
- Log in to your vCenter Server.
- On your Home screen, select Hosts and Clusters.
- Choose the poorly performing ESXi host.
- Go to the Monitor tab, then the Performance tab, and then click on Advanced.
- Change the view to Memory.
- Click on Chart Options.
- Select the three counters: Active, Swap in Rate in KBps, and Swap Out Rate in KBps.
- Click on OK. Now you should see something similar to the following image if there are swapping activities on your ESXi host:

In this example, you can see that this ESXi host's Swap In rate was 178 KBps and its Swap Out rate was 7428 KBps.
推薦閱讀
- Instant Testing with CasperJS
- iOS面試一戰(zhàn)到底
- 嵌入式軟件系統(tǒng)測(cè)試:基于形式化方法的自動(dòng)化測(cè)試解決方案
- Objective-C應(yīng)用開發(fā)全程實(shí)錄
- Visual Basic程序開發(fā)(學(xué)習(xí)筆記)
- Mastering PHP Design Patterns
- QGIS:Becoming a GIS Power User
- Hands-On Microservices with Kotlin
- Node Cookbook(Second Edition)
- Learning AngularJS for .NET Developers
- Everyday Data Structures
- JavaScript程序設(shè)計(jì):基礎(chǔ)·PHP·XML
- 從零開始學(xué)UI:概念解析、實(shí)戰(zhàn)提高、突破規(guī)則
- Python Automation Cookbook
- Learning Zimbra Server Essentials