From: Peter <heisspf@skyinet.net>
To: linux <linux-newbie@vger.kernel.org>
Subject: Extraction of PID
Date: Sat, 26 Jul 2003 14:58:24 +0800 [thread overview]
Message-ID: <20030726065829.DD46B1041E@heisspf> (raw)
Hi,
How do I isolate from a line like
1865 tty2 00:00:18 exmh
the first 4 numbers which is the PID. I get it with "ps -a --pid 1111 | grep
exmh".
Thanks & regards
--
Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
next reply other threads:[~2003-07-26 6:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-26 6:58 Peter [this message]
2003-07-26 8:11 ` Extraction of PID John Kelly
2003-07-26 8:22 ` pa3gcu
2003-07-27 5:36 ` Peter
2003-07-26 10:57 ` chuck gelm
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=20030726065829.DD46B1041E@heisspf \
--to=heisspf@skyinet.net \
--cc=linux-newbie@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