你们有没有养成经常按ALT+SysRq+S的习惯?以及此习惯是否有必要?
发表于 : 2016-08-01 17:21
你们有没有养成经常按ALT+SysRq+S的习惯?以及此习惯是否有必要?
感觉保存数据之后随手按一下这个组合可以有利于保护数据
感觉保存数据之后随手按一下这个组合可以有利于保护数据
susbarbatus 写了:并没有如此要紧的数据,小电影丢就丢了吧
好像很方便,为何没开?astolia 写了:编译内核时就没开这个
http://www.howtogeek.com/119127/use-the ... -commands/ALT+SysRq+S
poloshiao 写了:http://www.howtogeek.com/119127/use-the ... -commands/ALT+SysRq+S
s – Flushes data from your cache to disk.
ALT+SysRq
目的是 在 系統凍結後 要
Cleanly Restarting Your System
感谢回复
目的不是單單著眼於保存数据
"Cleanly Restarting Your System"目的是 在 系統凍結後 要
Cleanly Restarting Your System
https://www.kernel.org/doc/Documentation/sysrq.txttang.zhe 写了:不按"S"不行吗?
应该保存不仅仅是用户自身的数据,还包括维持文件系统的各类必要数据(这些数据如果没有正确同步,就有可能导致文件系统错误)
1. http://www.howtogeek.com/119127/use-the ... -commands/有没有养成经常按ALT+SysRq+S的习惯?
感谢回复.poloshiao 写了:应该保存不仅仅是用户自身的数据,还包括维持文件系统的各类必要数据(这些数据如果没有正确同步,就有可能导致文件系统错误)1. http://www.howtogeek.com/119127/use-the ... -commands/有没有养成经常按ALT+SysRq+S的习惯?
s – Flushes data from your cache to disk.
1-1. 按下 ALT+SysRq+S 鍵
把 緩存中的數據 強制寫入硬盤
只是 SysRq 附屬功能之一
2. "Cleanly Restarting Your System"
http://www.howtogeek.com/119127/use-the ... -commands/
ALT+SysRq
+
reisub
2-1. 依照 r e i s u b 順序 中間間隔停留幾秒
r – Puts the keyboard into raw mode, taking control of it away from the X server.
e – Sends the terminate signal to all processes, asking them to end gracefully.
i – Sends the kill signal to all processes, forcing them to end immediately.
s – Flushes data from your cache to disk.
u – Remounts all file systems read-only.
b – Reboots your computer.
3. 參閱
https://en.wikipedia.org/wiki/Magic_SysRq_key
Magic SysRq key
It is often used to recover from freezes, or to reboot a computer without corrupting the filesystem.
Its effect is similar to the computer's hardware reset button (or power switch) but with many more options and much more control.
Magic SysRq Key是Linux内核直接支持的特性.YeLee 写了:怎么我在我的Win10下面按不行的