Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@kevin39
Created April 26, 2017 06:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevin39/2af55fc1af034df50573ef9463d23262 to your computer and use it in GitHub Desktop.
Save kevin39/2af55fc1af034df50573ef9463d23262 to your computer and use it in GitHub Desktop.
Forcer un redémarrage de Linux via SSH quand reboot ne marche pas
echo s > /proc/sysrq-trigger # Flusher les buffers d'IO pour ne pas perdre de données
echo u > /proc/sysrq-trigger # Démonter puis Remonter toutes les partitions en Read-Only
echo b > /proc/sysrq-trigger # Forcer le reboot de la machine
# Source : http://www.area51.fr/2011/10/31/forcer-redemarrage-linux-via-ssh/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment