Re: Wheres the source code to GNU/Linux commands.
- From: Spamless <Spamless@xxxxxxx>
- Date: 19 Jan 2007 23:14:18 GMT
On 2007-01-19, Aaron Gray <ang.usenet@xxxxxxxxx> wrote:
Hi,
I want to code a SIGHUP command that will only work with certain processes,
ie HTTPD and ProFTPd.
Where are the sources to 'kill' and 'ps' commands ?
Well, kill may be found in the old (2005)
ftp://ftp.kernel.org/pub/linux/utils/util-linux/util-linux-2.12r.tar.bz2
Do I have to use a source RPM to get it and if so what is the RPM called ?
In Fedora Core2, the command
locate bin/kill
shows which bin directory,
/bin/kill and /usr/bin/kill (The latter is a symbolic link to the first)
and
rpm -q -f /bin/kill
shows
util-linux-2.12-18
and
rpm -q -i util-linux
shows
Source RPM: util-linux-2.12-18.src.rpm
as for ps ...
rpm -q -f /bin/ps
shows
procps-3.2.0-1.1
and
rpm -q -i procps
shows
Source RPM: procps-3.2.0-1.1.src.rpm
while
http://procps.sourceforge.net/
(from a google search on "procps")
has a link to
http://procps.sourceforge.net/procps-3.2.7.tar.gz
which has skill (also use for kill), ps, top, etc. and a note about
it's "kill" (ln -f skill kill)
# For example, you may prefer the /bin/kill from util-linux or bsdutils.
and you have the skill (kill) source code there.
.
- Follow-Ups:
- Re: Wheres the source code to GNU/Linux commands.
- From: Aaron Gray
- Re: Wheres the source code to GNU/Linux commands.
- From: Aaron Gray
- Re: Wheres the source code to GNU/Linux commands.
- References:
- Wheres the source code to GNU/Linux commands.
- From: Aaron Gray
- Wheres the source code to GNU/Linux commands.
- Prev by Date: Wheres the source code to GNU/Linux commands.
- Next by Date: Re: Wheres the source code to GNU/Linux commands.
- Previous by thread: Wheres the source code to GNU/Linux commands.
- Next by thread: Re: Wheres the source code to GNU/Linux commands.
- Index(es):
Relevant Pages
|