From: "Alexey S. Kuznetsov" <buster@vostok.net.ua>
To: community@altlinux.ru
Subject: Re: [Comm] как узнать PID
Date: Tue, 21 Dec 2004 09:19:40 +0000
Message-ID: <41C7EAAC.8070301@vostok.net.ua> (raw)
In-Reply-To: <41C7CB94.7060904@aaanet.ru>
Igo wrote:
> Привет всем
> Можно ли как нибудь запустить бинарник так что бы сразу узнеть его PID,
конечно! [из man bash]
$! Заменяется идентификатором последнего процесса, запущенного в
фоновом (асинхронном) режиме.
короче после запуска приложения скажи echo $! и узнаешь его pid. :-)
Дополнительная инфа: man bash
--
Sincerely,
Alexey S. Kuznetsov
AK2351-RIPE
next prev parent reply other threads:[~2004-12-21 9:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-21 7:07 Igo
2004-12-21 9:19 ` Alexey S. Kuznetsov [this message]
2004-12-21 9:23 ` Шишков Евгений
2004-12-21 9:33 ` Andrew Fefilov
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=41C7EAAC.8070301@vostok.net.ua \
--to=buster@vostok.net.ua \
--cc=community@altlinux.ru \
/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
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git