你们有没有养成经常按ALT+SysRq+S的习惯?以及此习惯是否有必要?
-
- 帖子: 2284
- 注册时间: 2013-05-26 6:58
- 系统: Debian 9
你们有没有养成经常按ALT+SysRq+S的习惯?以及此习惯是否有必要?
你们有没有养成经常按ALT+SysRq+S的习惯?以及此习惯是否有必要?
感觉保存数据之后随手按一下这个组合可以有利于保护数据
感觉保存数据之后随手按一下这个组合可以有利于保护数据
- susbarbatus
- 帖子: 2966
- 注册时间: 2010-04-10 16:14
- 系统: Arch Linux
- qy117121
- 论坛版主
- 帖子: 50554
- 注册时间: 2007-12-14 13:40
- 系统: Winbuntu
- 来自: 志虚国乌由市
- 联系:
Re: 你们有没有养成经常按ALT+SysRq+S的习惯?以及此习惯是否有必要?
susbarbatus 写了:并没有如此要紧的数据,小电影丢就丢了吧
渠月 · QY
本人只会灌水,不负责回答问题
无聊可以点一下→ http://u.nu/ubuntu
Ubuntu 20.04 快速设置指南,请配合浏浏览器自动翻译使用
邮箱 chuan@ubuntu.org.cn
本人只会灌水,不负责回答问题
无聊可以点一下→ http://u.nu/ubuntu
Ubuntu 20.04 快速设置指南,请配合浏浏览器自动翻译使用
邮箱 chuan@ubuntu.org.cn
- astolia
- 论坛版主
- 帖子: 6513
- 注册时间: 2008-09-18 13:11
Re: 你们有没有养成经常按ALT+SysRq+S的习惯?以及此习惯是否有必要?
编译内核时就没开这个
-
- 帖子: 2284
- 注册时间: 2013-05-26 6:58
- 系统: Debian 9
- tang.zhe
- 帖子: 1505
- 注册时间: 2010-07-15 13:31
Re: 你们有没有养成经常按ALT+SysRq+S的习惯?以及此习惯是否有必要?
不按"S"不行吗?
Ubuntu 命令技巧: http://wiki.ubuntu.org.cn/index.php?tit ... iant=zh-cn
Ubuntu 桌面指南: https://help.ubuntu.com//
Ubuntu 桌面指南: https://help.ubuntu.com//
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: 你们有没有养成经常按ALT+SysRq+S的习惯?以及此习惯是否有必要?
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
目的不是單單著眼於保存数据
-
- 帖子: 2284
- 注册时间: 2013-05-26 6:58
- 系统: Debian 9
Re: 你们有没有养成经常按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
指的不就是保存完应该保存的数据然后重启系统吗?
应该保存不仅仅是用户自身的数据,还包括维持文件系统的各类必要数据(这些数据如果没有正确同步,就有可能导致文件系统错误)
难道还有什么特别的吗?
-
- 帖子: 2284
- 注册时间: 2013-05-26 6:58
- 系统: Debian 9
Re: 你们有没有养成经常按ALT+SysRq+S的习惯?以及此习惯是否有必要?
https://www.kernel.org/doc/Documentation/sysrq.txttang.zhe 写了:不按"S"不行吗?
S在本组合键中有明确的特定含义,不能省略.
如果认为按键不方便,链接中也提供了方法来以脚本方式触发这些命令的方法
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: 你们有没有养成经常按ALT+SysRq+S的习惯?以及此习惯是否有必要?
应该保存不仅仅是用户自身的数据,还包括维持文件系统的各类必要数据(这些数据如果没有正确同步,就有可能导致文件系统错误)
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.
- YeLee
- 论坛版主
- 帖子: 26406
- 注册时间: 2008-08-13 8:48
- 系统: Fundu i64
- 来自: 东海硇州,一双管钥。
- 联系:
Re: 你们有没有养成经常按ALT+SysRq+S的习惯?以及此习惯是否有必要?
怎么我在我的Win10下面按不行的
◎当我站在道德的高度上俯视别人的时候,发现自己是多么渺小。
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
-
- 帖子: 2284
- 注册时间: 2013-05-26 6:58
- 系统: Debian 9
Re: 你们有没有养成经常按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.
抱歉,没看仔细,当时把您回复中的"ALT+SysRq"看成了"ALT+SysRq+S"
-
- 帖子: 2284
- 注册时间: 2013-05-26 6:58
- 系统: Debian 9
Re: 你们有没有养成经常按ALT+SysRq+S的习惯?以及此习惯是否有必要?
Magic SysRq Key是Linux内核直接支持的特性.YeLee 写了:怎么我在我的Win10下面按不行的
所以我猜测Win10虽然能安装一些Linux程序,但内核还是Windows的.
Linux自己的一些特性Windows内核就没有提供.
- millenniumdark
- 论坛版主
- 帖子: 4159
- 注册时间: 2005-07-02 14:41
- 系统: Ubuntu 14.04 (Kylin)
- 联系:
Re: 你们有没有养成经常按ALT+SysRq+S的习惯?以及此习惯是否有必要?
如果数据真的这么重要,软件应该实现flush,而不是让用户折磨自己的手指。