init 6和reboot的区别
来源:互联网 发布:iboy 知乎 编辑:程序博客网 时间:2024/06/10 08:47
init命令用于改变操作系统的运行级别。Init 6是重新启动机器。
reboot也是重新启动机器。
那么这两个命令到底有什么区别呢?
对这两个操作使用man命令看到的内容如下:
init 6 Stop the operating system and reboot to the
state defined by the initdefault entry in
/etc/inittab.
reboot - reboot performs a sync(1M) operation on the disks, and then a
multi- user reboot is initiated. See init(1M) for details.
"init 6" 基于一系列/etc/inittab文件,并且每个应用都会有一个相应shutdown脚本。
'init 6' 调用一系列shutdown脚本(/etc/rc0.d/K*)来使系统优雅关机;
'reboot'并不执行这些过程,reboot更是一个kernel级别的命令,不对应用使用shutdown脚本。 .
我们应该在通常情况下使用 init 6.
在出问题的状况下或强制重启时使用reboot.
- init 6和reboot的区别
- reboot和init 6的区别
- reboot和init 6之间的区别
- reboot和init 6之间的区别
- Linux重启命令init 6和reboot的区别
- linux 下 reboot和init 6的区别
- Reboot与init 6的区别
- init 6与 reboot的区别
- init 6 和reboot
- init, reboot区别
- 记录一下“halt ,reboot ,init,shutdown的区别”
- reboot与shutdown -r now 区别与联系(又收集了init和halt的小知识)
- reboot与shutdown -r now 区别与联系(又收集了init和halt的小知识)
- Linux下关机命令的区别 (halt,poweroff,reboot,shutdown,init)
- Linux下关机命令的区别 (halt,poweroff,reboot,shutdown,init)
- shutdown,halt,reboot,init的一点理解
- halt,shutdown,reboot,init的差异
- linux 关机重启 shutdown和reboot的区别
- 结合struts使用AJAX验证密码是否正确(三)
- 回复
- Iframe的自适应问题解决
- 图片
- 数据库的练习01
- init 6和reboot的区别
- 用各种方山木培训式为场上自己支持的队伍和队员加油
- DBA人员应该掌握的一些SQL语句
- PHP网站页面静态化的生成方法介绍
- Linux下的C编程实战之开发平台搭建
- php简单的双向队列
- 理解write buffer与cache的好文章--摘自Arm system developer's guide chapter 12
- 让 GridView 显示 thead、tbody 标签
- Linux cp 命令详解