On 2020-02-14 15:29, David Kastrup wrote:
Goran Mekić <meka(a)tilda.center> writes:
On February 14, 2020 2:18:58 PM UTC, Jeremy
Jongepier <jeremy(a)autostatic.com> wrote:
On 14/02/2020 13:21, David Kastrup wrote:
I think there are some emergency SysReq key
combinations. No idea
whether they need some special enabling. They bypass user space and
might be worth a try for getting a somewhat more regular shutdown.
Alt + SysReq + REISUB (aka "Reboot Even If System Utterly Broken")
should reboot the machine.
Best,
Jeremy
What is SysReq?
A key on the usual PC keyboards.
It's also implemented in /proc/sys/kernel.
I have this since quite a few years in a script on my computers if, or
rather when, things goes wrong and I can get in from outside.
echo 1 > /proc/sys/kernel/sysrq
echo r > /proc/sysrq-trigger
echo e > /proc/sysrq-trigger
echo i > /proc/sysrq-trigger
echo s > /proc/sysrq-trigger
echo u > /proc/sysrq-trigger
echo b > /proc/sysrq-trigger
--
/bengan