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

📄 runlevel.8

📁 upstart 事件驱动的Linux启动程序
💻 8
字号:
.TH runlevel 8 "October 2006" "Upstart".\".SH NAMErunlevel \- output previous and current runlevel.\".SH SYNOPSIS\fBrunlevel\fR [\fIOPTION\fR]... [\fIUTMP\fR].\".SH DESCRIPTION.B runlevelreads the system.I utmpfile.RI "(typically " /var/run/utmp )to locate the most recent runlevel record, then outputs the previous andcurrent runlevel from that record to standard output, separated by a singlespace.If there is no previous runlevel in the record, the letter.I Nwill be printed instead.If no.I utmpfile exists, or if no runlevel record can be found,.B runlevelprints the word.I unknownand exits with an error..\".SH OPTIONS.TP.BR --set =\fIRUNLEVELStore a new runlevel record in the.I utmpfile..I RUNLEVELshould be one of 0123456S.The current runlevel in the output will be.IR RUNLEVEL ,the previous runlevel will be the runlevel from the last record or.I N.\".TP.B --rebootStore a record of the time the system was booted in the.I utmpfile, using the current time.This will not output anything..\".SH EXIT STATUS.B runlevelwill exit with status.I 0if a.I utmprecord was found or written to the file, otherwise it will exit with status.IR 1 ..\".SH NOTESThis tool is provided for compatibility with the traditional System V.BR init (8).Upstart has no notion of runlevels itself, this and the.BR telinit (8)tool are provided to emulate their behaviour..\".SH AUTHORWritten by Scott James Remnant..\".SH REPORTING BUGSReport bugs at https://launchpad.net/products/upstart/+bugs.\".SH COPYRIGHTCopyright \(co 2006 Canonical Ltd..brThis is free software; see the source for copying conditions.  There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE..\".SH SEE ALSO.BR init (8).BR telinit (8)

⌨️ 快捷键说明

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