Magic Sys Rq Key - Alternate Ways To Invoke Magic SysRq

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-trigger

This 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:

    Boswell, when he speaks of his Life of Johnson, calls it my magnum opus, but it may more properly be called his opera, for it is truly a composition founded on a true story, in which there is a hero with a number of subordinate characters, and an alternate succession of recitative and airs of various tone and effect, all however in delightful animation.
    James Boswell (1740–1795)

    Separated lovers cheat absence by a thousand fancies which have their own reality. They are prevented from seeing one another and they cannot write; nevertheless they find countless mysterious ways of corresponding, by sending each other the song of birds, the scent of flowers, the laughter of children, the light of the sun, the sighing of the wind, and the gleam of the stars—all the beauties of creation.
    Victor Hugo (1802–1885)

    Drive a nail home and clinch it so faithfully that you can wake up in the night and think of your work with satisfaction,—a work at which you would not be ashamed to invoke the Muse.
    Henry David Thoreau (1817–1862)

    A full bosom is actually a millstone around a woman’s neck: it endears her to the men who want to make their mammet of her, but she is never allowed to think that their popping eyes actually see her. Her breasts ... are not parts of a person but lures slung around her neck, to be kneaded and twisted like magic putty, or mumbled and mouthed like lolly ices.
    Germaine Greer (b. 1939)