rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
From: Matthew Farwell <dylan@ibmpcug.co.uk>
To: rc@archone.tamu.edu
Subject: Re: jobs list
Date: Mon, 20 Apr 1992 04:19:31 -0500	[thread overview]
Message-ID: <9204201019.aa14391@kate.ibmpcug.co.uk> (raw)
In-Reply-To: <703730762.2950.0@elementary.bh.andrew.cmu.edu>


In article <703730762.2950.0@elementary.bh.andrew.cmu.edu> you write:
>I've been using "echo $apids" and "ps pid" a lot recently, so I wrote
>this.  I don't know if I like it yet...
> [ deleted ]

Course, if you had a sensible ps.....

Script started on Mon Apr 20 10:16:37 1992
; sleep 3600 & sleep 3600 & sleep 3600 &
14342
14343
14344
; echo $apids
14342 14343 14344
; ps -fp,^$apids
    UID   PID  PPID  C    STIME TTY  TIME COMMAND
  dylan 14342 14341  0 10:16:45  p0  0:00 sleep 3600 
  dylan 14343 14341  0 10:16:49  p0  0:00 sleep 3600 
  dylan 14344 14341  0 10:16:53  p0  0:00 sleep 3600 
; 
script done on Mon Apr 20 10:17:13 1992

Dylan.

-- 
"It's at times like this I wish I'd listened to what my mother used to say"
"Why, what did she say?"
"I don't know - I never listened."


      reply	other threads:[~1992-04-20 14:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-04-20  0:46 Julian L. Ho
1992-04-20  9:19 ` Matthew Farwell [this message]

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=9204201019.aa14391@kate.ibmpcug.co.uk \
    --to=dylan@ibmpcug.co.uk \
    --cc=rc@archone.tamu.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).