⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 shutdown.8

📁 操作系统设计与实现源码
💻 8
字号:
.TH SHUTDOWN 8.SH NAMEshutdown \- graciously close the system down.SH SYNOPSIS.B shutdown.RB [ \-hrRmk ].RB [ \-x.IR code ].RI [ time-specification.RI [ message ]].SH DESCRIPTION.B Shutdownis a program which allows a system operator to close down the systemin an nice way. .B Shutdowninforms the users why and when the system is going down.  This warningis issued 10 minutes before shutdown time and every minute in the last5 minutes.  At this time (5 minutes),.B shutdowncreates a file.B /etc/nologinto prevent new users from logging in..PP.B Shutdownkeeps a logfile of shutdowns.  Every shutdown is registered in .BR /usr/adm/wtmp ,if this file exists.  After these actions, a call is done to.BR reboot (2)which actually brings the system down..PP.I Time-specificationmay be something like.BR 15:00 ,.BR 15.00 ,.BR +15 ,or.B nowfor a shutdown at 3pm (twice), 15 minutes from now, or immediately..PPThe message may be used to describe why the system is going down, it mayalso be typed on standard input with the.B \-moption..SH OPTIONS.TP.B \-hThis flag prevents the system from rebooting after the shutdown.  Thesystem can now be powered off.  This is the default..TP.B \-rThis flag indicates that the system should reboot after shutting down..TP.B \-RReboot the system by resetting it.  Normally the kernel will try to returnto the Boot Monitor.  With.B \-Rthe system will receive a hardware reset..TP.BI \-x " code"Halt the system and let the Monitor execute the given code as if typed atthe monitor prompt.  You can for instance use.B "\-x 'boot hd0'"as a very fast way to reboot "from the top.".TP.B \-mAllows the operator to type a shutdown message on standard input, that willbe added to the messages displayed on all terminals..TP.B \-kThis option gives the possibility of terminating an already startedshutdown.  This is only possible if shutdown time has not yet arrived..TP.B \-CCheck if the system crashed.  This option is not used at shutdown time,but at reboot time.  It tells if the file systems should be checked bytesting if the last entry in the wtmp file is a shutdown entry.  (Acrude replacement for a file system clean flag.).SH FILES/usr/adm/wtmp, /etc/nologin, /usr/adm/authlog.SH "SEE ALSO".BR reboot (2),.BR wall (1),.BR halt (8),.BR boot (8)..SH AUTHOREdvard Tuinder (v892231@si.hhs.NL)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -