Browse Source

echo "1" > /proc/sys/kernel/sysrq

master
Benoît S. 4 years ago
parent
commit
35de0d3676
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      TipsKernel.md

+ 8
- 0
TipsKernel.md View File

@ -38,6 +38,14 @@ $ echo "($(awk '{print $1}' /proc/uptime) - 3412725.317750 ) / 60 / 60" | bc
# echo <touche magique> > /proc/sysrq-trigger
~~~
Ou si sysctl ne fonctionne pas…
~~~
# sysctl -w kernel.sysrq=1
-bash: /sbin/sysctl: Input/output error
# echo "1" > /proc/sys/kernel/sysrq
~~~
Voici les principales touches magiques (dans un odre croissant de violence) :
* `s` : Will attempt to sync all mounted filesystems.


Loading…
Cancel
Save