Hauptmenü
Inhalt
Mitglieder Login
Support
Powered by OSTraining.com
Populäre Artikel
Statistik
- Visitors
- 261
- Articles
- 150
- Web Links
- 23
- Articles View Hits
- 201507
Linux / Unix / VMware
VMware ESX: Killing a frozen VM
- Details
- Published on Monday, 24 August 2009 12:17
- Hits: 845
- 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 <virtualmachinename> 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.
- 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 <PID> which will forcibly terminate the process for the specified VM.
- You can check the state using the vmware-cmd command to see if it worked; if it did, the state should now be off.