[英]Get few information of virtual machines using PowerCLI
I am using PowerCLI on RHEL to fetch information from VMs. 我在RHEL上使用PowerCLI从VM中获取信息。 I have searched many websites, but I am not getting how to find this details like:
我已经搜索了许多网站,但是却找不到如何查找以下详细信息:
Established connections of VM, 建立VM的连接,
Load Average, 平均负载,
Top Processes, 热门流程
Process Counts.. 流程计数
It would be a grateful, if anybody knows how to get these details using PowerCLI... 如果有人知道如何使用PowerCLI获取这些详细信息,将不胜感激。
note: I think there are cmdlets which work for windows powerCLi, but doesn't for RHEL. 注意:我认为有些cmdlet适用于Windows powerCLi,但不适用于RHEL。
Thank you 谢谢
Invoke-VMScript is going to be the cmdlet you'll want to use to obtain that sort of information, however it is not yet functional in the PowerCLI Core fling. Invoke-VMScript将成为您用来获取此类信息的cmdlet,但是在PowerCLI Core插件中尚不起作用。
Note: The PowerCLI Core fling isn't a supported VMware release and it also has a dependency on using the PowerShell Alpha release... where as PowerShell is on Beta and even RC builds. 注意:PowerCLI Core fling不是受支持的VMware版本,它也依赖于使用PowerShell Alpha版本...其中PowerShell在Beta甚至是RC构建上。
The goal is certainly to make it functional on PowerShell 6.0, but it's not there yet. 目标当然是使其能够在PowerShell 6.0上运行,但尚不存在。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.