Magic SysRQ key

Marco Ramilli
Date
26 August 2008
Read
Share

Hi Folks, it's the first time that I see this kind of stuff : magic SysRQ Key .
It provides a way to send commands directly to the kernel through the /proc filesystem.

Quoted:
It is a 'magical' key combo you can hit which the kernel will respond to
regardless of whatever else it is doing, unless it is completely locked up.

It is enabled via a kernel compile time option, CONFIG_MAGIC_SYSRQ, which seems to be standard on most distributions.
So if you're administrating a remote server and suddenly it doesn't respond to commands, like for example :

you need a "magic command".
So, first you must activate the magic SysRq option:

And then you may reboot your system in such way:

Isn't it really cool ?
If you wanna learn more about magic SysRq you can read the sysrq.txt file in the kernel documentation.

UPGRADE:
of course if you wanna start it during the boot using sysctl you can by typing:

Marco Ramilli
Date
26 August 2008
Read
Share
← Go back
Latest Posts

i-SOON Data Leak: Key Points

Introduction i-SOON (上海安洵), a prominent contractor for various Chinese government agencies such […]

Date
26.02.2024
Duration
5 min
Text
Marco Ramilli

X Gold Badges: a new proliferating market

When I saw a threat actor hijacking the X account of Google's […]

Date
08.01.2024
Duration
5 min
Text
Marco Ramilli

Technical Data Sheet: LOCKBIT 3.0

LOCKBIT 3.0 is a notorious Ransomware Group that was first identified on […]

Date
20.12.2023
Duration
5 min
Text
Marco Ramilli
1 2 3 236
Back to Top
magnifier