Quantcast
Channel: Eric Sloof - NTPRO.NL - PowerCLI
Viewing all articles
Browse latest Browse all 52

Hidden tool: vmware-vimdump

$
0
0
While poking around in the service console, I’ve discovered another hidden pearl. It’s called vmware-vimdump. You’ll find it at /usr/lib/vmware/bin and you can execute it by typing ./vmware-vimdump. Before executing this command, configure your  SSH client e.g. Putty to log printable output to a file.
After a second or 10 you’ll see the following output, followed by every property you can think of:

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2010.01.07 21:41:38 =~=~=~=~=~=~=~=~=~=~=~=

./vmware-vimdump
Connecting to : localhost at 443 as root over SOAP
Found 67 managed objects:
1. vim.AuthorizationManager::ha-authmgr
2. vim.ComputeResource::ha-compute-res
3. vim.Datacenter::ha-datacenter
4. vim.Datastore::192.168.178.80:/nfs/public
5. vim.Datastore::496b4b2d-eb377ae5-3a0e-00151798bd3c
6. vim.Datastore::49f35375-879d840a-4a6c-00151798bd3d
7. vim.Datastore::4a1aa279-c94107ae-790a-00151798bd3c
8. vim.DiagnosticManager::ha-diagnosticmgr          (vmodl.DynamicProperty) {
            name = 'snapshot',
            val = (vim.vm.SnapshotInfo) {
               dynamicType = <unset>,
               dynamicProperty = (vmodl.DynamicProperty) [],
               currentSnapshot = 'vim.vm.Snapshot:352-snapshot-1',
               rootSnapshotList = (vim.vm.SnapshotTree) [
                  (vim.vm.SnapshotTree) {
                     dynamicType = <unset>,
                     dynamicProperty = (vmodl.DynamicProperty) [],
                     snapshot = 'vim.vm.Snapshot:352-snapshot-1',
                     vm = 'vim.VirtualMachine:352',
                     name = 'Probe Template Snapshot (Version 1.0.0, Build 36919)',
                     description = 'The AppSpeed Probe Template Snapshot is automatically created for probe creation. This snapshot can be removed at any time. It is recommended not to remove the snapshot before completing the initial probe installations.',
                     id = 1,
                     createTime = '2009-07-14T21:43:28.757221+02:00',
                     state = 'poweredOff',
                     quiesced = false,
                     backupManifest = <unset>,
                     childSnapshotList = (vim.vm.SnapshotTree) [],
                     replaySupported = false
                  }
               ]
            }

Viewing all articles
Browse latest Browse all 52

Trending Articles