Skip to content

Instantly share code, notes, and snippets.

@gautamkrishnar
Last active July 10, 2022 09:31
Embed
What would you like to do?
Shell script to force kill a Proxmox VE VM when it stop responding using the VM ID

Usage

./kill-vm.sh <vm_id>
ps aux | grep "/usr/bin/kvm -id "$1 | awk '{print $2}' | head --line=1 | xargs kill -9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment