{"id":488,"date":"2011-02-17T21:42:34","date_gmt":"2011-02-18T04:42:34","guid":{"rendered":"http:\/\/jim-zimmerman.com\/?p=488"},"modified":"2011-02-17T21:42:34","modified_gmt":"2011-02-18T04:42:34","slug":"vmware-esxi-how-to-list-virtual-machines","status":"publish","type":"post","link":"https:\/\/jim-zimmerman.com\/?p=488","title":{"rendered":"VMware ESXi &#8211; how to list virtual machines."},"content":{"rendered":"<p>To list the virtual machines installed on a VMWare ESXi server, loging to the server via ssh and enter the following command:<\/p>\n<p>~ # esxcli vms vm list<br \/>\nVMDC1<br \/>\n    World ID: 9375350<br \/>\n    Process ID: 0<br \/>\n    VMX Cartel ID: 9375349<br \/>\n    UUID: 56 4d 7e ca e0 c8 15 17-53 2e 21 de 2f 57 6b f0<br \/>\n    Display Name: VMDC1<br \/>\n    Config File: \/vmfs\/volumes\/4cd70f88-eac98d60-3346-b8ac6f907086\/VMDC1\/VMDC1.vmx<\/p>\n<p>There are several other options to the esxcli command, but another potentially useful option is the following command used to kill a hung VM:<\/p>\n<p>~ # esxcli vms vm kill<br \/>\n~ # esxcli vms vm kill &#8211;type <em>soft|hard|force<\/em> &#8211;world-id <em>World ID<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>To list the virtual machines installed on a VMWare ESXi server, loging to the server via ssh and enter the following command: ~ # esxcli vms vm list VMDC1 World ID: 9375350 Process ID: 0 VMX Cartel ID: 9375349 UUID: 56 4d 7e ca e0 c8 15 17-53 2e 21 de 2f 57 6b f0 [&#038;hellip<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[160,33],"class_list":["post-488","post","type-post","status-publish","format-standard","hentry","category-documentation","tag-esx","tag-vmware"],"share_on_mastodon":{"url":"","error":""},"_links":{"self":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/488","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=488"}],"version-history":[{"count":1,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/488\/revisions"}],"predecessor-version":[{"id":489,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/488\/revisions\/489"}],"wp:attachment":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=488"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=488"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=488"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}