這是本文件的舊版!
VMWare ESXI Provision - Debug常用指令
Network Related Command
Show NIC info:
[root@localhost:~] localcli network nic list Name PCI Device Driver Admin Status Link Status Speed Duplex MAC Address MTU Description -------------------------------------------------------------------------------------------------------------- vmnic0 0000:03:00.0 nmlx4_en Up Down 0 Half 00:25:90:90:e2:d1 1500 Mellanox Technologies MT27500 Family [ConnectX-3] vmnic1 0000:01:00.0 igbn Up Up 1000 Full 0c:c4:7a:1a:40:62 1500 Intel Corporation I350 Gigabit Network Connection vmnic2 0000:01:00.1 igbn Up Up 1000 Full 0c:c4:7a:1a:40:63 1500 Intel Corporation I350 Gigabit Network ConnectionShow IP:
~ # esxcfg-vmknic -l Interface Port Group/DVPort IP Family IP Address Netmask Broadcast MAC Address MTU TSO MSS Enabled Type vmk0 Management Network IPv4 10.146.176.25 255.255.0.0 10.146.255.255 0c:c4:7a:45:09:6e 1500 65535 true DHCP vmk0 Management Network IPv6 fe80::ec4:7aff:fe45:96e 64 0c:c4:7a:45:09:6e 1500 65535 true STATIC, PREFERRED vmk0 Management Network IPv6 2001:db8:0:f102:ec4:7aff:fe45:96e 64 0c:c4:7a:45:09:6e 1500 65535 true AUTOCONF, PREFERRED
SSH Service
Enable SSH,登入時不需要輸入密碼: (refer link)
/etc.init.d/SSH start
List Process with command line
~ # ps -c | grep 3600 36101 36101 sleep sleep 3600 41757 41757 grep grep 3600
List PCI info
localcli hardware pci list