this post was submitted on 25 Dec 2024
25 points (79.1% liked)

Linux

5505 readers
185 users here now

A community for everything relating to the linux operating system

Also check out !linux_memes@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] FizzyOrange@programming.dev 1 points 1 day ago* (last edited 1 day ago)

Good luck with this approach on a server.

Indeed, obviously I'm talking about desktops here.

If by ‘suspend’ you mean that the process will just halt, then: Which processes? All of them? Good luck displaying a message then.

You could use some kind of heuristic to suspend ones using the most memory/CPU. Or just suspend them all. Obviously you would exclude the processes needed to display the message.

If by ‘suspend’ you mean moving the memory to disk

No I meant just pausing their execution. I'm pretty sure ctrl-alt-del does something like this on Windows.