Ignore:
Timestamp:
Jul 9, 2014, 10:57:54 PM (10 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-sysvinit, sysvinit
Children:
d31e344
Parents:
1e08a9b
Message:

Use pidof from procps-ng

Location:
BOOK/final-system/common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/procps-ng.xml

    r1e08a9b ra4fd97e  
    116116      </varlistentry>
    117117
    118 <!--      <varlistentry id="pidof">
     118      <varlistentry id="pidof">
    119119        <term><command>pidof</command></term>
    120120        <listitem>
    121           <para>Looks up processes based on their name and other attributes</para>
     121          <para>Reports the PIDs of the given programs</para>
    122122          <indexterm zone="ch-system-procps-ng pidof">
    123123            <primary sortas="b-pidof">pidof</primary>
    124124          </indexterm>
    125125        </listitem>
    126       </varlistentry> -->
     126      </varlistentry>
    127127
    128128      <varlistentry id="pkill">
  • BOOK/final-system/common/sysvinit.xml

    r1e08a9b ra4fd97e  
    2525    <title>Installation of Sysvinit</title>
    2626
    27     <para os ="a">Apply a sed which disables last, mesg, mountpoint, sulogin,
    28     utmpdump, and wall from being built and installed as they are provided by
    29     Util-linux:</para>
    30 
    31 <screen os="b"><userinput>sed -i -e 's/\ sulogin[^ ]*//' \
     27    <para os ="a">Apply a <command>sed</command> to disable several programs
     28    from being built and installed as better versions are provided by
     29    other packages:</para>
     30
     31<screen os="b"><userinput>sed -i -e 's/\ sulogin[^ ]*//' -e 's/pidof\.8//' -e '/ln .*pidof/d' \
    3232    -e '/utmpdump/d' -e '/mountpoint/d' -e '/mesg/d' src/Makefile</userinput></screen>
    3333
     
    125125
    126126      <seglistitem>
    127         <seg>bootlogd, fstab-decode, halt, init, killall5, pidof (link to
    128         killall5), poweroff (link to halt), reboot (link to halt), runlevel,
    129         shutdown, and telinit (link to init)</seg>
     127        <seg>bootlogd, fstab-decode, halt, init, killall5, poweroff
     128        (link to halt), reboot (link to halt), runlevel, shutdown, telinit
     129        (link to init)</seg>
    130130      </seglistitem>
    131131    </segmentedlist>
     
    194194      </varlistentry>
    195195
    196       <varlistentry id="pidof">
    197         <term><command>pidof</command></term>
    198         <listitem>
    199           <para>Reports the PIDs of the given programs</para>
    200           <indexterm zone="ch-system-sysvinit pidof">
    201             <primary sortas="b-pidof">pidof</primary>
    202           </indexterm>
    203         </listitem>
    204       </varlistentry>
    205 
    206196      <varlistentry id="poweroff">
    207197        <term><command>poweroff</command></term>
Note: See TracChangeset for help on using the changeset viewer.