Skip to content

Instantly share code, notes, and snippets.

@tuxfight3r
Created January 6, 2015 17:22
Show Gist options
  • Save tuxfight3r/c40c7eedacbeeaca4dfb to your computer and use it in GitHub Desktop.
Save tuxfight3r/c40c7eedacbeeaca4dfb to your computer and use it in GitHub Desktop.
Hard reset server via Remote CLI
#If your Kernel is compiled with CONFIG_MAGIC_SYSRQ (sysrq-trigger).
#If so, you have the possibility so send binding command.
Reset your server (like pressing the hardware RESET button) :
# echo b > /proc/sysrq-trigger
Sync the hard disks before:
# echo s > /proc/sysrq-trigger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment