Re: Wheres the source code to GNU/Linux commands.
- From: "Aaron Gray" <ang.usenet@xxxxxxxxx>
- Date: Fri, 19 Jan 2007 23:42:08 -0000
"Aaron Gray" <ang.usenet@xxxxxxxxx> wrote in message
news:51d2v6F1k5f7vU1@xxxxxxxxxxxxxxxxxxxxx
"Spamless" <Spamless@xxxxxxx> wrote in message
news:45b150ca$0$17951$22fed638@xxxxxxxxxxxxxxxxx
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.
Thanks, good bit of detective work.
Looks like the source has been "left behind" !
My guess is that its now effectively "maintained" by the distributors
rather than with the kernel or secondary bodies ??? Or should be ???
What do you recon. This is a bit of a nasty discovery.
Think I am barking up the wrong tree !
Does not look very organized though.
Aaron
.
- References:
- Wheres the source code to GNU/Linux commands.
- From: Aaron Gray
- Re: Wheres the source code to GNU/Linux commands.
- From: Spamless
- Re: Wheres the source code to GNU/Linux commands.
- From: Aaron Gray
- Wheres the source code to GNU/Linux commands.
- Prev by Date: Re: Wheres the source code to GNU/Linux commands.
- Next by Date: Re: Wheres the source code to GNU/Linux commands.
- Previous by thread: Re: Wheres the source code to GNU/Linux commands.
- Next by thread: Re: Wheres the source code to GNU/Linux commands.
- Index(es):
Relevant Pages
|