From: cornet <cornet@altlinux.ru>
To: mandrake-russian@altlinux.ru
Subject: [mdk-re] Re: [mdk-re] Как совсем отцепить задачу от консоли/оболочки?
Date: Tue Feb 12 14:03:01 2002
Message-ID: <3C68F7C9.DC9B52B8@altlinux.ru> (raw)
In-Reply-To: <3C68F5E4.9154F748@mtu-net.ru>
"Oleg N. Kayunov" wrote:
>
> Похоже, что задаю совсем уж чайнический вопрос, но ни чтение киг/man-ов
> ни эксперименты ничего не дали.
> Суть - надо запусть весьма долго считающую задачу.
> Естественно - даю команду progr >progr.rpt 2>&1
> Как только выхожу из mc - задачи в памяти нет.
> Если пускаю просто из shella (не запуская mc)- тот же результат при
> выходе из виртуальной консоли.
> Пробовал exec (который в shell) - ничего не меняяется.
> Ради интереса посмотрел скрипты в /etc/rc.d/init.d - там некий daemon
> коего нигде не обнаруживается.
> Да и не запускать же расчетную задачу из-под root-а, в самом деле...
> Можно, конечно перейти к использованию C-ских или иного иного (python)
> exec и/или daemon, но наверняка же есть такая возможность в shell-е.
$ exec <строка с задачей> &
или
$ nohup <строка с задачей> &
В Вашем случае
$ exec progr >progr.rpt 2>&1 &
--
Власенко Олег.
Отдел технической поддержки ALT Linux Team.
mailto:cornet@altlinux.ru
next prev parent reply other threads:[~2002-02-12 14:03 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-12 13:58 Oleg N. Kayunov
2002-02-12 14:02 ` Peter V. Saveliev
2002-02-12 14:11 ` Victor Sovetov
2002-02-13 7:11 ` [mdk-re] Re: Как совсем отцепить задачу от к онсоли/оболочки? Oleg N. Kayunov
2002-02-12 14:03 ` cornet [this message]
2002-02-12 14:06 ` [mdk-re] Re: [mdk-re] Как совсем отцепить задачу от консоли/оболочки? Aleksey Novodvorsky
2002-02-12 14:06 ` Leonid B. Sysoletin
2002-02-12 14:06 ` Vyt
2002-02-12 14:07 ` "Баталов Григорий"
2002-02-13 20:58 ` [mdk-re] Re: [mdk-re] Как совсем отцепить з=C 1дачу " Roman S
2002-02-16 4:05 ` [mdk-re] Re: Как совсем отцепить з1дачу " Oleg N. Kayunov
2002-02-16 12:18 ` [mdk-re] Re: [JT] Как совсем отцепить задачу " Michael Shigorin
2002-02-18 9:43 ` [mdk-re] Re: ëÁË ÓÏ×ÓÅÍ ÏÔÃÅÐÉÔØ Ú1ÄÁÞÕ ÏÔ ËÏÎÓÏÌÉ/ÏÂÏÌÏÞËÉ? Russu V.F.
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=3C68F7C9.DC9B52B8@altlinux.ru \
--to=cornet@altlinux.ru \
--cc=mandrake-russian@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