Alternate Ways To Invoke Magic SysRq
While this was originally implemented as part of the kernel's keyboard handler for debugging, the functionality has been also exposed via the proc filesystem and is commonly used to provide extended management capabilities to headless and remote systems. As an example, shell script can be simply used:
echo b > /proc/sysrq-triggerThis is equivalent to the key combination Alt+SysRq+B which reboots the machine.
The Linux daemons sysrqd and tcpconsole provide a method of accessing SysRq features over a TCP connection after authenticating with a plain-text password.
The Xen hypervisor has functionality to send magic commands to hosted domains via its "xm sysrq" command.
Many embedded systems have no attached keyboard, but instead use a serial console for text input/output to the running system. It is possible to invoke a Magic SysRq feature over a serial console by sending a 'break' serial command, followed by the desired key. The method of sending a break is dependent on the terminal program or hardware used to connect to the serial console.
For minicom, a popular serial terminal program, the command sequence: 'ctrl-a f' will initiate a break sequence. So the command: 'ctrl-a f m' would show memory information about the system.
Read more about this topic: Magic Sys Rq Key
Famous quotes containing the words alternate, ways, invoke and/or magic:
“Strange, that some of us, with quick alternate vision, see beyond our infatuations, and even while we rave on the heights, behold the wide plain where our persistent self pauses and awaits us.”
—George Eliot [Mary Ann (or Marian)
“I love, cherish, and respect women in my mind, in my heart, and in my soul. This love of women is the soil in which my life is rooted. It is the soil of our common life together. My life grows out of this soil. In any other soil, I would die. In whatever ways I am strong, I am strong because of the power and passion of this nurturant love.”
—Andrea Dworkin (b. 1946)
“There is another side to chivalry. If it dispenses leniency, it may with equal justification invoke control.”
—Freda Adler (b. 1934)
“Self-esteem is the real magic wand that can form a childs future. A childs self-esteem affects every area of her existence, from friends she chooses, to how well she does academically in school, to what kind of job she gets, to even the person she chooses to marry.”
—Stephanie Martson (20th century)