9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Uriel <uriell@binarydream.org>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] killing processes
Date: Thu, 15 Sep 2005 21:09:33 +0100	[thread overview]
Message-ID: <20050915200933.GA10226@server4.lensbuddy.com> (raw)
In-Reply-To: <Pine.GSO.4.61.0509151553540.17256@cps210.cps.cmich.edu.>

I think you are confused:

% cat /bin/Kill
#!/bin/rc
for(i){
        ps | sed -n '/ '^$i^'$/s%^[^ ]* *([^ ]*).*%chmod 666 /proc/\1/ctl;echo kill > /proc/\1/ctl%p'
}

On Thu, Sep 15, 2005 at 03:55:10PM -0400, ISHWAR RATTAN wrote:
> I forgot mention that
>   echo Kill > /proc/pid/note
> 
> does not help. I will have to set up a time for
> reboot of cpu-server.
> 
> -ishwar
> 
> On Thu, 15 Sep 2005, ISHWAR RATTAN wrote:
> 
> >I have only two boxen:
> > - auth-server
> > - cpu-server
> >
> >and drawterm is used to login into cpu-server
> >
> >-ishwar
> >
> >On Thu, 15 Sep 2005, Fco. J. Ballesteros wrote:
> >
> >>We forbid them to cpu into a cpu server.
> >>They run their own diskless terminals, which they reboot
> >>when they are done.  You might do the same.
> >>
> >>:  Students leave around running processes on the
> >>:  system. Is there a way to kill these?
> >>:    echo kill > /proc/868/note
> >>:  says permission denied (which makes sense as
> >>:  I am trying to kill them logged as bootes).
> >>
> >


  reply	other threads:[~2005-09-15 20:09 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-15 12:47 Fco. J. Ballesteros
2005-09-15 12:50 ` Charles Forsyth
2005-09-15 14:03 ` Ronald G Minnich
2005-09-15 17:31 ` ISHWAR RATTAN
2005-09-15 19:55   ` ISHWAR RATTAN
2005-09-15 20:09     ` Uriel [this message]
2005-09-15 18:28 ` Dave Eckhardt
2005-09-15 18:57   ` Russ Cox
2005-09-16  5:20     ` Dave Eckhardt
2005-09-16  6:40       ` Charles Forsyth
2005-09-16 13:34         ` erik quanstrom
2005-09-16 13:47           ` Uriel
2005-09-19  3:00             ` Bruce Ellis
2005-09-16 16:14         ` Dave Eckhardt
  -- strict thread matches above, loose matches on Subject: below --
2005-09-16  1:53 YAMANASHI Takeshi
2005-09-16  5:30 ` Dave Eckhardt
2005-09-16  5:41   ` Russ Cox
2005-09-15 15:52 Fco. J. Ballesteros
2005-09-15 15:38 Fco. J. Ballesteros
2005-09-15 15:46 ` Ronald G Minnich
2005-09-15 16:21   ` Lucio De Re
2005-09-15 16:41     ` Ronald G Minnich
2005-09-15 15:54 ` Lucio De Re
2005-09-15 15:04 Fco. J. Ballesteros
2005-09-15 15:19 ` Axel Belinfante
2005-09-15 17:06 ` andrey mirtchovski
2005-09-15 14:44 Fco. J. Ballesteros
2005-09-15 14:55 ` andrey mirtchovski
2005-09-15 15:02   ` Gabriel Diaz
2005-09-15 15:01 ` Axel Belinfante
2005-09-15 15:07 ` Uriel
2005-09-15 15:27   ` Russ Cox
2005-09-15 15:42     ` Lucio De Re
2005-09-15 15:50       ` Ronald G Minnich
2005-09-16 21:48         ` Wes Kussmaul
2005-09-17  0:48           ` Ronald G Minnich
2005-09-20 18:16             ` Steve Simon
2005-09-15 16:05     ` Uriel
2005-09-16 12:57       ` Axel Belinfante
2005-09-16 13:05         ` Lucio De Re
2005-09-16 13:21           ` Axel Belinfante
2005-09-16 13:42             ` andrey mirtchovski
2005-09-16 14:04             ` Sape Mullender
2005-09-16 14:20               ` Russ Cox
2005-09-17  6:28                 ` Lucio De Re
2005-09-17 12:46                   ` Sape Mullender
2005-09-17 15:07                     ` Lucio De Re
2005-09-17 15:21                       ` Russ Cox
2005-09-17 16:01                         ` Lucio De Re
2005-09-18 13:02                           ` Sape Mullender
2005-09-15 16:39     ` Charles Forsyth
2005-09-15 16:53       ` Ronald G Minnich
2005-09-15 20:27         ` Charles Forsyth
2005-09-16  3:09           ` Lyndon Nerenberg
2005-09-16  3:35             ` Ronald G Minnich
2005-09-15 15:32   ` Lucio De Re
2005-09-15 15:40   ` Ronald G Minnich
2005-09-15 15:49     ` jmk
2005-09-27 17:05       ` Ronald G Minnich
2005-09-15 16:00     ` Steve Simon
2005-09-16  2:17     ` Kenji Okamoto
2005-09-15 15:24 ` Lucio De Re
2005-09-15 15:44   ` Ronald G Minnich
2005-09-15 15:49 ` Brantley Coile
2005-09-15 19:13 ` Skip Tavakkolian
2005-09-15 14:18 Fco. J. Ballesteros
2005-09-15 14:35 ` Ronald G Minnich
2005-09-15 11:48 ISHWAR RATTAN
2005-09-15 12:03 ` Steve Simon
2005-09-15 18:33   ` Enache Adrian

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=20050915200933.GA10226@server4.lensbuddy.com \
    --to=uriell@binarydream.org \
    --cc=9fans@cse.psu.edu \
    /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;
as well as URLs for NNTP newsgroup(s).