sysvinit-desc.xml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  2. <sect2><title>Descriptions</title>
  3. <para>(Last checked against version &sysvinit-contversion;.)</para>
  4. <sect3><title>Program file descriptions</title>
  5. <sect4><title>halt</title>
  6. <para>halt notes, in the file /var/log/wtmp, that the system is being
  7. brought down and then tells the kernel to either halt, reboot or
  8. poweroff the system. If halt or reboot is called when the system is not
  9. in runlevel 0 or 6, shutdown will be invoked instead (with
  10. the flag -h or -r).</para></sect4>
  11. <sect4><title>init</title>
  12. <para>init is the parent of all processes. Its primary role is to create
  13. processes from a script stored in the file /etc/inittab. This
  14. file usually has entries which cause init to spawn gettys on each line from
  15. which users can log in. It also controls autonomous processes required by any
  16. particular system.</para></sect4>
  17. <sect4><title>killall5</title>
  18. <para>killall5 is the SystemV killall command. It sends a signal to all
  19. processes except the processes in its own session, so it won't kill the
  20. shell that is running the script it was called from.</para></sect4>
  21. <sect4><title>last</title>
  22. <para>last searches back through the file /var/log/wtmp (or the file designated
  23. by the -f flag) and displays a list of all users logged in (and out)
  24. since that file was created.</para></sect4>
  25. <sect4><title>lastb</title>
  26. <para>lastb is the same as last, except that by default it shows a log of the
  27. file /var/log/btmp, which contains all the bad login attempts.</para></sect4>
  28. <sect4><title>mesg</title>
  29. <para>mesg controls the access to the user's terminal by others. It's typically
  30. used to allow or disallow other users to write to his terminal.</para></sect4>
  31. <sect4><title>pidof</title>
  32. <para>pidof displays the process identifiers (PIDs) of the named
  33. programs.</para></sect4>
  34. <sect4><title>poweroff</title>
  35. <para>poweroff is equivalent to shutdown -h -p now. It halts the computer and
  36. switches off the computer (when using an APM compliant BIOS and APM is
  37. enabled in the kernel).</para></sect4>
  38. <sect4><title>reboot</title>
  39. <para>reboot is equivalent to shutdown -r now. It reboots
  40. the computer.</para></sect4>
  41. <sect4><title>runlevel</title>
  42. <para>runlevel reads the system utmp file (usually /var/run/utmp), locates
  43. the runlevel record and prints the previous and current system
  44. runlevel on its standard output, separated by a single space.</para></sect4>
  45. <sect4><title>shutdown</title>
  46. <para>shutdown brings the system down in a secure way. All logged-in users are
  47. notified that the system is going down and login is blocked.</para></sect4>
  48. <sect4><title>sulogin</title>
  49. <para>sulogin is invoked by init when the system goes into single user mode
  50. (this is done through an entry in /etc/inittab). Init also tries to
  51. execute sulogin when it is passed the -b flag from the boot loader
  52. (LILO, for example).</para></sect4>
  53. <sect4><title>telinit</title>
  54. <para>telinit sends appropriate signals to init, telling it which runlevel to
  55. enter.</para></sect4>
  56. <sect4><title>utmpdump</title>
  57. <para>utmpdumps prints the content of a file (usually /var/run/utmp) on
  58. standard output in a user friendly format.</para></sect4>
  59. <sect4><title>wall</title>
  60. <para>wall sends a message to logged in users that have their mesg permission
  61. set to yes.</para></sect4>
  62. </sect3>
  63. </sect2>