ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Mikhail Zabaluev <mhz@alt-linux.org>
To: Altlinux <mandrake-russian@altlinux.ru>
Subject: [mdk-re] Re: Как разорвать соединение???
Date: Mon Feb 18 11:58:12 2002
Message-ID: <20020218090603.GB24444@mhz.mikhail.zabaluev.name> (raw)
In-Reply-To: <1013984575.17363.2.camel@COMP00-0603>

Hello Alexander,

On Mon, Feb 18, 2002 at 08:22:45AM +1000, Alexander wrote:
>
> В Вск, 17.02.2002, в 20:24, Чужой написал:
> > > > > При просмотре состояния сети вижу
> > > > > netstat --inet
> > > > > Active Internet connections (w/o servers)
> > > > > Proto Recv-Q Send-Q Local Address           Foreign Address
> > > > > State
> > > > > tcp        0      0 COMP00-0603:32919       192.168.1.100:telnet
> > > > > ESTABLISHED
> > > > >
> > > > > Каким образом убить это соединение???
> > > >
> > > >     По-моему ps ax, найти запущенный сервис и просто пристрелить его
> > > > kill-ом...
> > > >
> > >
> > >  а потом netstat --inet
> > > висят такие штуки 192.168.1.100:telnet    FIN_WAIT1
> > >
> > > Как их убрать???
> > 
> >     А каким кодом стреляли в процесс?
> killall -9 telnet

Ну зачем же обухом, нужно было сначала без -9, я думаю, процесс бы всё
понял и закрыл соединение. А так -- ждите, пока соединение отвалится
по timeout'у.

>  Но если их несколько, то стреляются все :((, а нужно одно

У netstat есть опция -p, которая выдаёт идентификаторы и имена процессов.

-- 
Stay tuned,
  MhZ                                     JID: mookid@jabber.org
___________
If we do not change our direction we are likely to end up where we are headed.



  reply	other threads:[~2002-02-18 11:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-17  9:08 [mdk-re] " Alexander
2002-02-17  9:40 ` [mdk-re] " Чужой
2002-02-17 10:00   ` Alexander
2002-02-17 13:15     ` [mdk-re] " Чужой
2002-02-18  1:18       ` Alexander
2002-02-18 11:58         ` Mikhail Zabaluev [this message]
2002-02-18  9:39 ` [mdk-re] " Michael Shigorin

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=20020218090603.GB24444@mhz.mikhail.zabaluev.name \
    --to=mhz@alt-linux.org \
    --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