Using the kill command by first finding the process identifier (PID) of the VM and then using the kill command.

1. Log in to the ESX service console.


2. The process status (ps) command in Linux shows the currently running processes on a server and the grep command finds the specified text in the output of the ps command. Type ps auxfww
grep to get the process ID (PID) of the VM. You will have two entries returned, one is from the running of the ps command. The longer entry is the running VM process. The longer entry will end in the config file name of the VM and is the one you want to use; the number in the second column of that entry is the PID of the VM.

3.The kill command in Linux sends a signal to terminate a process using its ID number. The ‘-9′ parameter forces the process to quit immediately and cannot be ignored like the more graceful ‘-15′ parameter can sometimes be. Type kill -9 which will forcibly terminate the process for the specified VM.

4.You can check the state using the vmware-cmd command to see if it worked; if it did, the state should now be off.

留言

這個網誌中的熱門文章

How to build PrivacyIdea HA with MySQL with master and master replication

Update X710 firmware

Align Windows disk in ESX