mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chris Boot <bootc@bootc.net>
To: Alexey Dobriyan <adobriyan@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [RFC] un petite hack: /proc/*/ctl
Date: Tue, 29 Nov 2005 00:23:19 +0000	[thread overview]
Message-ID: <D6440692-33C3-45F0-9112-C22332ED7072@bootc.net> (raw)
In-Reply-To: <20051129002801.GA9785@mipter.zuzino.mipt.ru>

On 29 Nov 2005, at 0:28, Alexey Dobriyan wrote:

> echo kill >/proc/$PID/ctl
> 	send SIGKILL to process
>
> echo term >/proc/$PID/ctl
> 	send SIGTERM to process

Pardon me for my ignorance, but what's wrong with the following?

kill -KILL $PID
     and
kill -TERM $PID

Thanks,
Chris

-- 
Chris Boot
bootc@bootc.net
http://www.bootc.net/



  reply	other threads:[~2005-11-29  0:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-29  0:28 Alexey Dobriyan
2005-11-29  0:23 ` Chris Boot [this message]
2005-11-29  1:33   ` Alexey Dobriyan
2005-11-29  5:48     ` Willy Tarreau
2005-11-29  5:53       ` Willy Tarreau
2005-11-29  7:26         ` Denis Vlasenko
2005-11-30 10:21       ` Folkert van Heusden
2005-11-30 21:23         ` Willy Tarreau
2005-12-09 14:24           ` Jan Engelhardt
2005-12-15  3:58             ` Kyle Moffett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D6440692-33C3-45F0-9112-C22332ED7072@bootc.net \
    --to=bootc@bootc.net \
    --cc=adobriyan@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®