sysvinit.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  4. <!ENTITY % general-entities SYSTEM "../general.ent">
  5. %general-entities;
  6. ]>
  7. <sect1 id="ch-system-sysvinit" role="wrap">
  8. <?dbhtml filename="sysvinit.html"?>
  9. <sect1info condition="script">
  10. <productname>sysvinit</productname>
  11. <productnumber>&sysvinit-version;</productnumber>
  12. <address>&sysvinit-url;</address>
  13. </sect1info>
  14. <title>Sysvinit-&sysvinit-version;</title>
  15. <indexterm zone="ch-system-sysvinit">
  16. <primary sortas="a-Sysvinit">Sysvinit</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <para>The Sysvinit package contains programs for controlling the startup,
  21. running, and shutdown of the system.</para>
  22. <segmentedlist>
  23. <segtitle>&buildtime;</segtitle>
  24. <segtitle>&diskspace;</segtitle>
  25. <seglistitem>
  26. <seg>&sysvinit-ch6-sbu;</seg>
  27. <seg>&sysvinit-ch6-du;</seg>
  28. </seglistitem>
  29. </segmentedlist>
  30. </sect2>
  31. <sect2 role="installation">
  32. <title>Installation of Sysvinit</title>
  33. <para>Compile the package:</para>
  34. <screen><userinput remap="make">make -C src</userinput></screen>
  35. <para>This package does not come with a test suite.</para>
  36. <para>Install the package:</para>
  37. <screen><userinput remap="install">make -C src install</userinput></screen>
  38. </sect2>
  39. <sect2 id="contents-sysvinit" role="content">
  40. <title>Contents of Sysvinit</title>
  41. <segmentedlist>
  42. <segtitle>Installed programs</segtitle>
  43. <seglistitem>
  44. <seg>fstab-decode, killall5, last,
  45. lastb (link to last) and pidof
  46. (link to killall5)</seg>
  47. </seglistitem>
  48. </segmentedlist>
  49. <variablelist>
  50. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  51. <?dbfo list-presentation="list"?>
  52. <?dbhtml list-presentation="table"?>
  53. <varlistentry id="fstab-decode">
  54. <term><command>fstab-decode</command></term>
  55. <listitem>
  56. <para>Run a command with fstab-encoded arguments</para>
  57. <indexterm zone="ch-system-sysvinit fstab-decode">
  58. <primary sortas="b-fstab-decode">fstab-decode</primary>
  59. </indexterm>
  60. </listitem>
  61. </varlistentry>
  62. <varlistentry id="killall5">
  63. <term><command>killall5</command></term>
  64. <listitem>
  65. <para>Sends a signal to all processes, except the processes in its own
  66. session so it will not kill the shell running the script that called
  67. it</para>
  68. <indexterm zone="ch-system-sysvinit killall5">
  69. <primary sortas="b-killall5">killall5</primary>
  70. </indexterm>
  71. </listitem>
  72. </varlistentry>
  73. <varlistentry id="last">
  74. <term><command>last</command></term>
  75. <listitem>
  76. <para>Shows which users last logged in (and out), searching back
  77. through the <filename>/var/log/wtmp</filename> file; it also shows
  78. system boots, shutdowns, and run-level changes</para>
  79. <indexterm zone="ch-system-sysvinit last">
  80. <primary sortas="b-last">last</primary>
  81. </indexterm>
  82. </listitem>
  83. </varlistentry>
  84. <varlistentry id="lastb">
  85. <term><command>lastb</command></term>
  86. <listitem>
  87. <para>Shows the failed login attempts, as logged in
  88. <filename>/var/log/btmp</filename></para>
  89. <indexterm zone="ch-system-sysvinit lastb">
  90. <primary sortas="b-lastb">lastb</primary>
  91. </indexterm>
  92. </listitem>
  93. </varlistentry>
  94. <varlistentry id="pidof">
  95. <term><command>pidof</command></term>
  96. <listitem>
  97. <para>Reports the PIDs of the given programs</para>
  98. <indexterm zone="ch-system-sysvinit pidof">
  99. <primary sortas="b-pidof">pidof</primary>
  100. </indexterm>
  101. </listitem>
  102. </varlistentry>
  103. </variablelist>
  104. </sect2>
  105. </sect1>