3 ms·
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 som
by marcodiego 4y ago
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.
- _blaise_ 4y agoSomething like stop_machine() along with freeze_processes() might get you fairly close to that.
- zaphirplane 4y agoThis seems very close to hibernate to disk, so seems the plumbing is already there
- 5e92cb50239222b 4y agoLook at criu maybe? https://criu.org/ https://criu.org/