免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1378 | 回复: 0
打印 上一主题 下一主题

问一个很简单的问题 [复制链接]

论坛徽章:
0
1 [报告]
发表于 2005-01-25 12:25 |显示全部楼层

问一个很简单的问题

The shutdown Command Details
Executing the shutdown command stops system activities in an orderly and consistent
manner. The shutdown command performs the following tasks:
• Prompts the administrator for a broadcast message to send to all users.
• Broadcasts the warning message to all user terminal sessions.
• Grants a 60 second (by default) grace period for users to log out.
• Kills all user logins.
• Shuts down all non-critical processes.
• Unmounts all non-critical file systems.
Depending on the option specified, shutdown will either leave the system in single-user mode
(no options), the halt state (if -h was specified), or initiate a reboot (if -r was specified).
Common shutdown options:
# shutdown -hy 600 # shutdown to a halt state in 600 seconds.
# "-y" (yes) option prevents shutdown from
# requesting confirmation before proceeding.
# shutdown -ry 600 # reboot in 600 seconds without requesting confirmation.
# shutdown -ry 0 # reboot immediately without requesting confirmation.

Reboot Command Details
The reboot command uses "kill -9" to kill running processes,
quickly, but can cause problems for applications and file
shuts down applications and processes more gracefully,
halting or rebooting the system from multi-user mode.
The system is already in single-user mode.
You need to bring the system down very quickly.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP