Last week we have had to test a special state of a virtual instance in our new cluster at university – KERNEL PANIC 😉 So, how is the fastest was to cause it without executing malicious code? Here is the solution:
echo 1 > /proc/sys/kernel/sysrq
echo c > /proc/sysrq-trigger