sysvinit-desc.xml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  2. <sect2><title>Short descriptions</title>
  3. <para><command>halt</command> normally invokes shutdown with the -h flag,
  4. except when already in runlevel 0, then it tells the kernel to halt the system.
  5. But first it notes in the file <filename>/var/log/wtmp</filename> that the
  6. system is being brought down.</para>
  7. <para><command>init</command> is the mother of all processes. It reads its
  8. commands from <filename>/etc/inittab</filename>, which normally tell it which
  9. scripts to run for which runlevel, and how many gettys to spawn.</para>
  10. <para><command>killall5</command> sends a signal to all processes, except
  11. the processes in its own session -- so it won't kill the shell running the
  12. script that called it.</para>
  13. <para><command>last</command> shows which users last logged in (and out),
  14. searching back through the file <filename>/var/log/wtmp</filename>. It can
  15. also show system boots and shutdowns, and runlevel changes.</para>
  16. <para><command>lastb</command> shows the failed login attempts, as logged
  17. in <filename>/var/log/btmp</filename>.</para>
  18. <para><command>mesg</command> controls whether other users can send
  19. messages to the current user's terminal.</para>
  20. <para><command>pidof</command> reports the PIDs of the given programs.</para>
  21. <para><command>poweroff</command> tells the kernel to halt the system and
  22. switch off the computer. But see halt.</para>
  23. <para><command>reboot</command> tells the kernel to reboot the system.
  24. But see halt.</para>
  25. <para><command>runlevel</command> reports the previous and the current
  26. runlevel, as noted in the last runlevel record in
  27. <filename>/var/run/utmp</filename>.</para>
  28. <para><command>shutdown</command> brings the system down in a secure way,
  29. signaling all processes and notifying all logged-in users.</para>
  30. <para><command>sulogin</command> allows the superuser to log in. It is
  31. normally invoked by init when the system goes into single user mode.</para>
  32. <para><command>telinit</command> tells init which runlevel to enter.</para>
  33. <para><command>utmpdump</command> displays the content of the given login
  34. file in a friendlier format.</para>
  35. <para><command>wall</command> writes a message to all logged-in users.</para>
  36. </sect2>