ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    ESXi VMware ESXTOP

    Scheduled Pinned Locked Moved IT Discussion
    vmwareesxi6.7esxtop
    15 Posts 7 Posters 847 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DustinB3403D
      DustinB3403 @1337
      last edited by

      @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

      ObsolesceO 1 Reply Last reply Reply Quote 0
      • ObsolesceO
        Obsolesce @DustinB3403
        last edited by

        @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.

        1. Dump it all to CSV.
        2. Then have the script remove unneeded data from CSV.
        1 1 Reply Last reply Reply Quote 1
        • 1
          1337 @Obsolesce
          last edited by

          @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.

          1. Dump it all to CSV.
          2. 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.

          ObsolesceO 1 Reply Last reply Reply Quote 1
          • ObsolesceO
            Obsolesce @1337
            last edited by

            @pete-s said in ESXi VMware ESXTOP:

            Or just pipe the output to grep, awk or whatever before writing it to file.

            2a2c40ce-cf02-40c5-9fb3-40b1783d1c9f-image.png

            scottalanmillerS 1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @Obsolesce
              last edited by

              @obsolesce awk is surprisingly simple to use. Easiest text processor that I know.

              1 Reply Last reply Reply Quote 1
              • dave247D
                dave247
                last edited by

                Why not just use PowerShell?

                DustinB3403D 1 Reply Last reply Reply Quote 0
                • stacksofplatesS
                  stacksofplates
                  last edited by

                  Does the esxi shell have awk?

                  DustinB3403D scottalanmillerS 2 Replies Last reply Reply Quote 0
                  • DustinB3403D
                    DustinB3403 @stacksofplates
                    last edited by

                    @stacksofplates it might, I'll have to double-check next week

                    1 Reply Last reply Reply Quote 0
                    • DustinB3403D
                      DustinB3403 @dave247
                      last edited by

                      @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

                      1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @stacksofplates
                        last edited by

                        @stacksofplates said in ESXi VMware ESXTOP:

                        Does the esxi shell have awk?

                        No idea

                        1 1 Reply Last reply Reply Quote 0
                        • 1
                          1337 @scottalanmiller
                          last edited by

                          @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/

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post