Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以使用 VMWare PowerCLI 通过命令行获取 CPU 使用率,例如“get-stat -entity $vm -realtime -maxsample $n -stat cpu.usage.average”。
据我所知,PowerCLI 使用 VMWare VIX API 与 vSphere 服务器进行通信。
但是我找不到可以让我获得这样的性能计数器的 VIX API 方法。
我错了吗?或者我应该使用完整的 VMWare SDK 而不是 VIX 来获取性能数据?谢谢你。