Re: (PM) Re: your mail
Sylwester S. Biernacki (obeer@waw.pdi.net)
Thu, 6 May 1999 09:20:01 +0200
Dnia Wed, May 05, 1999 at 06:31:04PM -0500, William Kitchen napisał(a):
>> Some scripts are getting into the PM and when my bridge goes down sometimes this connections
>> hangs, but I can't remove it and I can't get into PM25.
>
>To kill stuck telnet sessions without rebooting, do the following:
>
>Type "sh netconns". This will return several columns of information. In the
>"(state)" column, you'll see one or more lines that say "ESTABLISHED". If you
>are connected via telnet, one of these will be your current session. The
>others will be either other active telnet sessions or "stuck" telnet sessions.
>To terminate one of these, type "reset nxxx", replacing the "xxx" with the
>number from the "Hnd" column for the session that you want to kill.
Thanks :>
I've now pmcommand script which gets into PM25 and kill all stuck sessions.
One time for a day from crontab of course :>
--
pozdrawiam,
Sylwester Biernacki <obeer@pdi.net>
http://obeer.pdi.net/
-
To unsubscribe, email 'majordomo@livingston.com' with
'unsubscribe portmaster-users' in the body of the message.
Searchable list archive: <URL:http://www.livingston.com/Tech/archive/>