Esx: Difference between revisions

From DWIKI
mNo edit summary
mNo edit summary
(3 intermediate revisions by the same user not shown)
Line 17: Line 17:
*[https://communities.vmware.com/docs/DOC-11812 Interpreting esxtop statistics]  
*[https://communities.vmware.com/docs/DOC-11812 Interpreting esxtop statistics]  
*[https://kb.vmware.com/s/article/1027901 Checking the queue depth of the storage adapter and the storage device]
*[https://kb.vmware.com/s/article/1027901 Checking the queue depth of the storage adapter and the storage device]




Line 22: Line 24:


== start VM ==
== start VM ==
=== List all vms ===


  vim-cmd vmsvc/getallvms
  vim-cmd vmsvc/getallvms
  vim-cmd vmsvc/power.getstate [vmid]
  vim-cmd vmsvc/power.getstate [vmid]
  vim-cmd vmsvc/power.off [vmid]
  vim-cmd vmsvc/power.off [vmid]
  vim-cmd vmsvc/power.on [vmid]
  vim-cmd vmsvc/power.on [vmid]
 


== root account locked ==
== root account locked ==
Line 38: Line 41:
  esxcfg-info
  esxcfg-info
        
        
== Identify disks in Linux ==
lsscsi
== Check if vmdk is in use ==
grep vmdk some.vmx
https://blah.cloud/infrastructure/safely-checkremove-orphaned-vmdk-files-from-esxi/
  vmkfstools -D foo.vmdk
 
== list modules ==
== list modules ==
  esxcli system module list
  esxcli system module list

Revision as of 11:13, 28 September 2021


Links

Tools

esxtop

Links



FAQ

start VM

List all vms

vim-cmd vmsvc/getallvms
vim-cmd vmsvc/power.getstate [vmid]
vim-cmd vmsvc/power.off [vmid]
vim-cmd vmsvc/power.on [vmid]

root account locked

pam_tally2 --user root --reset

show hardware info

esxcfg-info
      

Identify disks in Linux

lsscsi


Check if vmdk is in use

grep vmdk some.vmx

https://blah.cloud/infrastructure/safely-checkremove-orphaned-vmdk-files-from-esxi/

 vmkfstools -D foo.vmdk


 

list modules

esxcli system module list