From: "Oleg N. Kayunov" <okayunov@mtu-net.ru> To: mandrake-russian@altlinux.ru Subject: [mdk-re] Re: Автовыход из консоли по таймауту Date: Sat Apr 6 18:47:13 2002 Message-ID: <3CAF0B07.B042CDD0@mtu-net.ru> (raw) In-Reply-To: <20020405130700.14C311CE88@mail.anker.ru> Maxim Mitrofanov wrote: > > Yura Zotov wrote: > > Подскажите, пожалуйста, как сделать автовыход или авто-vlock > > через определенное время бездействия в консоли. > > > > Заранее спасибо за помощь. > > Для bash переменная окружения TMOUT > > TMOUT=60 - через 60 секунд бездействия отваливаешся Только есть одна фишка (замечено и излагается на примере mc): 1. непосредственно после запуска mc - все нормально; 2. если ничего не трогать, то по истечении TMOUT mc вдруг начинает вовсю жрать процесссорное время, у меня - доводя idle до 0 (но никакого автовыхода!); 3. работа "внутри" mc (хождение по каталогам, F3, etc) ситуации, как правило, не меняет - включая продолжающийся жор процессорного времени; 4. при попытке отдать "внешнюю команду" (типа ls) выводится кровавое табло об уже занятости интерпретатора исполнением иной команды и mc слетает; иногда, впрочем, это же происходит и при исполнении "внутренних" команд mc. Наиболее существеннен тут (IMHO) 2-й момент (подпольная тотальная жрачка процессорного времени). bash-2.05-alt4, mc-4.5.51-ipl11mdk - > -- == В действительности все обстоит совершенно иначе, чем на самом деле. == Best regards, Oleg N. Kayunov.
prev parent reply other threads:[~2002-04-06 18:47 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-04-05 16:37 [mdk-re] " Yura Zotov 2002-04-05 17:05 ` Maxim Mitrofanov 2002-04-06 18:47 ` Oleg N. Kayunov [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=3CAF0B07.B042CDD0@mtu-net.ru \ --to=okayunov@mtu-net.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