Changeset 3ed279f for chapter06/sysvinit.xml
- Timestamp:
- 08/08/2004 03:09:34 PM (20 years ago)
- Branches:
- 6.0
- Children:
- 6b85f8a
- Parents:
- 0869f1e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/sysvinit.xml
r0869f1e r3ed279f 121 121 </segmentedlist> 122 122 123 <variablelist><title>Short descriptions</title> 123 <variablelist><bridgehead renderas="sect3">Short descriptions</bridgehead> 124 <?dbfo list-presentation="list"?> 124 125 125 126 <varlistentry id="halt"> 126 127 <term><command>halt</command></term> 127 128 <listitem> 128 <indexterm zone="ch-system-sysvinit halt"><primary sortas="b-halt">halt</primary></indexterm>129 129 <para>normally invokes <command>shutdown</command> with the 130 130 <parameter>-h</parameter> option, except when already in run-level 0, … … 132 132 file <filename>/var/log/wtmp</filename> that the system is being 133 133 brought down.</para> 134 <indexterm zone="ch-system-sysvinit halt"><primary sortas="b-halt">halt</primary></indexterm> 134 135 </listitem> 135 136 </varlistentry> … … 138 139 <term><command>init</command></term> 139 140 <listitem> 140 <indexterm zone="ch-system-sysvinit init"><primary sortas="b-init">init</primary></indexterm>141 141 <para>the first process to be started when the kernel has initialized 142 142 the hardware. Init takes over the boot process and starts all the 143 143 proceses it is instructed to.</para> 144 <indexterm zone="ch-system-sysvinit init"><primary sortas="b-init">init</primary></indexterm> 144 145 </listitem> 145 146 </varlistentry> … … 148 149 <term><command>killall5</command></term> 149 150 <listitem> 150 <indexterm zone="ch-system-sysvinit killall5"><primary sortas="b-killall5">killall5</primary></indexterm>151 151 <para>sends a signal to all processes, except the processes in its own 152 152 session so it won't kill the shell running the script that called 153 153 it.</para> 154 <indexterm zone="ch-system-sysvinit killall5"><primary sortas="b-killall5">killall5</primary></indexterm> 154 155 </listitem> 155 156 </varlistentry> … … 158 159 <term><command>last</command></term> 159 160 <listitem> 160 <indexterm zone="ch-system-sysvinit last"><primary sortas="b-last">last</primary></indexterm>161 161 <para>shows which users last logged in (and out), 162 162 searching back through the <filename>/var/log/wtmp</filename> file. It 163 163 also show system boots, shutdowns, and run-level changes.</para> 164 <indexterm zone="ch-system-sysvinit last"><primary sortas="b-last">last</primary></indexterm> 164 165 </listitem> 165 166 </varlistentry> … … 168 169 <term><command>lastb</command></term> 169 170 <listitem> 170 <indexterm zone="ch-system-sysvinit lastb"><primary sortas="b-lastb">lastb</primary></indexterm>171 171 <para>shows the failed login attempts, as logged in 172 172 <filename>/var/log/btmp</filename>.</para> 173 <indexterm zone="ch-system-sysvinit lastb"><primary sortas="b-lastb">lastb</primary></indexterm> 173 174 </listitem> 174 175 </varlistentry> … … 177 178 <term><command>mesg</command></term> 178 179 <listitem> 179 <indexterm zone="ch-system-sysvinit mesg"><primary sortas="b-mesg">mesg</primary></indexterm>180 180 <para>controls whether other users can send messages to the current 181 181 user's terminal.</para> 182 <indexterm zone="ch-system-sysvinit mesg"><primary sortas="b-mesg">mesg</primary></indexterm> 182 183 </listitem> 183 184 </varlistentry> … … 186 187 <term><command>pidof</command></term> 187 188 <listitem> 189 <para>reports the PIDs of the given programs.</para> 188 190 <indexterm zone="ch-system-sysvinit pidof"><primary sortas="b-pidof">pidof</primary></indexterm> 189 <para>reports the PIDs of the given programs.</para>190 191 </listitem> 191 192 </varlistentry> … … 194 195 <term><command>poweroff</command></term> 195 196 <listitem> 196 <indexterm zone="ch-system-sysvinit poweroff"><primary sortas="b-poweroff">poweroff</primary></indexterm>197 197 <para>tells the kernel to halt the system and switch off the computer 198 198 (see <command>halt</command>).</para> 199 <indexterm zone="ch-system-sysvinit poweroff"><primary sortas="b-poweroff">poweroff</primary></indexterm> 199 200 </listitem> 200 201 </varlistentry> … … 203 204 <term><command>reboot</command></term> 204 205 <listitem> 205 <indexterm zone="ch-system-sysvinit reboot"><primary sortas="b-reboot">reboot</primary></indexterm>206 206 <para>tells the kernel to reboot the system (see 207 207 <command>halt</command>).</para> 208 <indexterm zone="ch-system-sysvinit reboot"><primary sortas="b-reboot">reboot</primary></indexterm> 208 209 </listitem> 209 210 </varlistentry> … … 212 213 <term><command>runlevel</command></term> 213 214 <listitem> 214 <indexterm zone="ch-system-sysvinit runlevel"><primary sortas="b-runlevel">runlevel</primary></indexterm>215 215 <para>reports the previous and the current run-level, as noted in the last run-level 216 216 record in <filename>/var/run/utmp</filename>.</para> 217 <indexterm zone="ch-system-sysvinit runlevel"><primary sortas="b-runlevel">runlevel</primary></indexterm> 217 218 </listitem> 218 219 </varlistentry> … … 221 222 <term><command>shutdown</command></term> 222 223 <listitem> 223 <indexterm zone="ch-system-sysvinit shutdown"><primary sortas="b-shutdown">shutdown</primary></indexterm>224 224 <para>brings the system down in a secure way, signaling all processes 225 225 and notifying all logged-in users.</para> 226 <indexterm zone="ch-system-sysvinit shutdown"><primary sortas="b-shutdown">shutdown</primary></indexterm> 226 227 </listitem> 227 228 </varlistentry> … … 230 231 <term><command>sulogin</command></term> 231 232 <listitem> 232 <indexterm zone="ch-system-sysvinit sulogin"><primary sortas="b-sulogin">sulogin</primary></indexterm>233 233 <para>allows <emphasis>root</emphasis> to log in. It is 234 234 normally invoked by <command>init</command> when the system goes into single user mode.</para> 235 <indexterm zone="ch-system-sysvinit sulogin"><primary sortas="b-sulogin">sulogin</primary></indexterm> 235 236 </listitem> 236 237 </varlistentry> … … 239 240 <term><command>telinit</command></term> 240 241 <listitem> 242 <para>tells <command>init</command> which run-level to change to.</para> 241 243 <indexterm zone="ch-system-sysvinit telinit"><primary sortas="b-telinit">telinit</primary></indexterm> 242 <para>tells <command>init</command> which run-level to change to.</para>243 244 </listitem> 244 245 </varlistentry> … … 247 248 <term><command>utmpdump</command></term> 248 249 <listitem> 249 <indexterm zone="ch-system-sysvinit utmpdump"><primary sortas="b-utmpdump">utmpdump</primary></indexterm>250 250 <para>displays the content of the given login file in a more 251 251 user-friedly format.</para> 252 <indexterm zone="ch-system-sysvinit utmpdump"><primary sortas="b-utmpdump">utmpdump</primary></indexterm> 252 253 </listitem> 253 254 </varlistentry> … … 256 257 <term><command>wall</command></term> 257 258 <listitem> 259 <para>writes a message to all logged-in users.</para> 258 260 <indexterm zone="ch-system-sysvinit wall"><primary sortas="b-wall">wall</primary></indexterm> 259 <para>writes a message to all logged-in users.</para>260 261 </listitem> 261 262 </varlistentry>
Note:
See TracChangeset
for help on using the changeset viewer.