ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Artem K. Jouravsky" <ujo@ifirst.ru>
To: Altlinux <mandrake-russian@altlinux.ru>
Subject: [mdk-re] Re: Как снести сессию, открытую по ssh ?
Date: Thu Apr 11 15:39:15 2002
Message-ID: <20020411113911.GA17254@ifirst.ru> (raw)
In-Reply-To: <1018523467.12630.9.camel@traktorl.netdialogue.com>

On Thu, Apr 11, 2002 at 03:11:07PM +0400, Serg Tselishev wrote:
> Доброго дня!
> Не подскажете, как прибить сессию, открытую на сервере по ssh или
> локально с другой консоли?
> Просто два дня назад, ввел команду who и с удивление обнаружил еще одну
> свою сессию (traktor  pts/0    Apr 07 12:05 (:0) ) - это, видимо у меня
> иксы померли, а сессия осталась. Исчезла только после перегруза - но это
> ведь не выход. А сегодня мой товарищ зашел ко мне по ssh и не выходит,
> видимо нет его на рабочем месте, а я не уверен, что свою консоль там он
> залочил :о(.
я в таких случаях делаю так:
[ujo@king ujo]$ who
ujo      pts/0    Apr 11 15:43 (ujo.int.ifirst.ru)
ala      pts/14   Jan 29 15:35 (alatortsev.int.ifirst.ru)
[ujo@king ujo]$ ps wax |grep 'pts/0'
24221 pts/0    S      0:00 -bash
24262 pts/0    R      0:00 ps wax
24263 pts/0    S      0:00 grep pts/0
[ujo@king ujo]$ kill -9 24221

> Может это где описано? Я бы с удовольствием RTFM.
man {kill,ps} :)

Единственно, -9 наверное не совсем корректно... А впрочем, в данном случае нормально

-- 
Best wishes,
Artem K. Jouravsky,
iFirst Ltd, System Administrator.
-----------------------
try again



  reply	other threads:[~2002-04-11 15:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-11 15:12 [mdk-re] " Serg Tselishev
2002-04-11 15:39 ` Artem K. Jouravsky [this message]
2002-04-11 16:12   ` [mdk-re] " Serg Tselishev
2002-04-11 16:56     ` Artem K. Jouravsky
2002-04-11 21:53 ` [mdk-re] Как снестисессию, открытуюпо " admin
2002-04-12 17:49 ` [mdk-re] Как снести сессию, открытую по " Sergey Vlasov

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=20020411113911.GA17254@ifirst.ru \
    --to=ujo@ifirst.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