ESXi VMware ESXTOP
-
@pete-s Yeah I saw that, but this won't output just the specific detail I'm looking for. It will output everything (and essentially bloat the logs).
I saw the same thing.
Thanks though
-
@dustinb3403 said in ESXi VMware ESXTOP:
@pete-s Yeah I saw that, but this won't output just the specific detail I'm looking for. It will output everything (and essentially bloat the logs).
I saw the same thing.
Thanks though
Make the script a two step process until you can figure it out.
- Dump it all to CSV.
- Then have the script remove unneeded data from CSV.
-
@obsolesce said in ESXi VMware ESXTOP:
@dustinb3403 said in ESXi VMware ESXTOP:
@pete-s Yeah I saw that, but this won't output just the specific detail I'm looking for. It will output everything (and essentially bloat the logs).
I saw the same thing.
Thanks though
Make the script a two step process until you can figure it out.
- Dump it all to CSV.
- Then have the script remove unneeded data from CSV.
Or just pipe the output to grep, awk or whatever before writing it to file.
The batch mode of esxtop at least will let give you the information without having to do it interactively. -
@pete-s said in ESXi VMware ESXTOP:
Or just pipe the output to grep, awk or whatever before writing it to file.
-
@obsolesce awk is surprisingly simple to use. Easiest text processor that I know.
-
Why not just use PowerShell?
-
Does the esxi shell have awk?
-
@stacksofplates it might, I'll have to double-check next week
-
@dave247 said in ESXi VMware ESXTOP:
Why not just use PowerShell?
How would I use powershell when I'm ssh'd into the host?
I get that I can use powershell to pull details from the host, but that's a different approach than what I'm doing
-
-
@scottalanmiller said in ESXi VMware ESXTOP:
@stacksofplates said in ESXi VMware ESXTOP:
Does the esxi shell have awk?
No idea
According to this it does:
https://deepakkanda.wordpress.com/2018/07/25/shell-commands-in-vsphere-esxi/