Created
April 26, 2017 06:22
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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