2001-01-24 00:31:17 +00:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of Psmisc</title>
|
|
|
|
|
2001-07-22 20:45:10 +01:00
|
|
|
<para>Install Psmisc by running the following commands:</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2001-10-27 23:21:44 +01:00
|
|
|
<para><screen><userinput>./configure --prefix=/usr --exec-prefix=/ &&
|
|
|
|
make &&
|
|
|
|
make install</userinput></screen></para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2001-09-17 14:37:42 +01:00
|
|
|
<para>psmisc installs the
|
|
|
|
<filename>/usr/share/man/man1/pidof.1</filename> man page, but psmisc's
|
|
|
|
pidof program isn't installed by default. Generally that isn't a problem
|
|
|
|
because we install the sysvinit package later on which provides us with
|
|
|
|
a better pidof program.</para>
|
|
|
|
|
|
|
|
<para>It's up to you now to decide if you are going to use the sysvinit
|
|
|
|
package which provides a pidof program, or not. If you are going to, you
|
|
|
|
should remove psmisc's pidof man page by running:</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>rm /usr/share/man/man1/pidof.1</userinput></screen></para>
|
|
|
|
|
|
|
|
<para>If you're not going to use sysvinit, you should complete this
|
|
|
|
package's installation by creating the <filename>/bin/pidof</filename>
|
|
|
|
symlink by running:</para>
|
|
|
|
|
2001-10-27 23:21:44 +01:00
|
|
|
<para><screen><userinput>cd /bin
|
|
|
|
ln -s killall pidof</userinput></screen></para>
|
2001-09-17 14:37:42 +01:00
|
|
|
|
2001-01-24 00:31:17 +00:00
|
|
|
</sect2>
|
|
|
|
|