9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Russ Cox" <rsc@swtch.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] killing rogue processes
Date: Thu, 18 Dec 2003 17:31:16 -0500	[thread overview]
Message-ID: <E1AX6ft-000EjH-1G@t40.swtch.com> (raw)
In-Reply-To: Your message of "Fri, 19 Dec 2003 07:31:13 MST." <9e1ece40f542f2a019c3a7ba9ec1b56e@plan9.ucalgary.ca>

> > i don't remember the one you sent to 9trouble,
> > but it seems trivial enough not to warrant a
> > separate command:
> >
> > #!/bin/rc
> > cd /proc
> > for (i in *)
> > 	cat $i/fd | sed s/^/$i' '/
>
> it's written in C for the same reason 'ps' is, whatever that may be :)

ps does non-trivial reformatting of the /proc files.



  reply	other threads:[~2003-12-18 22:31 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-18 17:42 mirtchov
2003-12-18 16:57 ` Russ Cox
2003-12-18 18:28   ` andrey mirtchovski
2003-12-18 19:50     ` David Presotto
2003-12-18 20:01       ` mirtchov
2003-12-18 19:13         ` Russ Cox
2003-12-19 14:31           ` mirtchov
2003-12-18 22:31             ` Russ Cox [this message]
2003-12-19 17:20               ` ron minnich
2003-12-20  9:01                 ` boyd, rounin
2003-12-19 17:25               ` mirtchov
2003-12-19  6:19         ` boyd, rounin
2003-12-18 20:29           ` mirtchov
2003-12-18 20:41             ` Scott Schwartz
2003-12-18 20:48               ` mirtchov
2003-12-19  3:07             ` David Presotto
2003-12-19  6:45             ` boyd, rounin
2003-12-19  5:57       ` boyd, rounin
2003-12-19  0:03   ` Bruce Ellis

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=E1AX6ft-000EjH-1G@t40.swtch.com \
    --to=rsc@swtch.com \
    --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).