Re:The Linux kernel can spawn processes on its own
by marcodiego on Saturday June 11, 2022 @07:19PM
(#31709423)
Something I'd like to have: a magic sysrq combo to pause all processes and run a predefined binary. This would allow me to, when the userspace if broken, do something useful and save the jobs running on the machine. Of course, some way to prevent it from turning it into a DDoS is important, of course.
[ Parent
| on HN ]
Re:The Linux kernel can spawn processes on its own
by _blaise_ on Saturday June 11, 2022 @08:57PM
(#31710154)
Something like stop_machine() along with freeze_processes() might get you fairly close to that.
Re:The Linux kernel can spawn processes on its own
by 5e92cb50239222b on Sunday June 12, 2022 @01:06AM
(#31711605)
Look at criu maybe?
Re:The Linux kernel can spawn processes on its own
by zaphirplane on Sunday June 12, 2022 @12:13AM
(#31711371)
This seems very close to hibernate to disk, so seems the plumbing is already there