Sponsored Content
Operating Systems Linux Red Hat How to kill a TCP connection which has status TIME_WAIT & no PID Post 302433227 by agn on Tuesday 29th of June 2010 03:47:51 AM
Old 06-29-2010
There's a utility called tcpdrop on BSDs. Not sure if its ported to any other OS.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

TCP ports - TIME_WAIT

What is the maximum number of TCP ports that can be consumed at any one time? How can I determine what the number is or increase it? I was under the impression that with our system (UnixWare 7.1.1) 1024 was the maximum under our current Kernel tuning parms, but I think that is really just... (4 Replies)
Discussion started by: dlkox
4 Replies

2. UNIX for Dummies Questions & Answers

Session PID & socket connection pid

1. If I use an software application(which connects to the database in the server) in my local pc, how many PID should be registered? Would there be PID for the session and another PID for socket connection? 2. I noticed (through netstat) that when I logged in using the my software application,... (1 Reply)
Discussion started by: pcx26
1 Replies

3. Shell Programming and Scripting

KILL PID, intern should kill another PID.

Hi All, In my project i have two process runs in the back end. Once i start my project, and execute the command ps, i get below output: PID TTY TIME CMD 9086 pts/1 0:00 ksh 9241 pts/1 0:02 java 9240 pts/1 0:00 shell_script_bg java with 9241 PID is the main... (4 Replies)
Discussion started by: rkrgarlapati
4 Replies

4. UNIX for Advanced & Expert Users

KILL without PID

Hellow Experts i have one problem. i run one script in backgroun. and i want to kill that script with only script name..... so what's the solution.. for your info my script name is "testscript" n it contains "sleep 100" thanks.... (16 Replies)
Discussion started by: luckypower
16 Replies

5. Shell Programming and Scripting

When kill [pid] does not work...

Hi, On my Linux machine, using Bash, I sometimes run into a situation where doing the following does not seem to work at all. kermit@fastbox ~ $ ps -A | grep firefox-bin 5375 ? 00:06:57 firefox-bin <defunct> 5624 ? 00:00:00 firefox-bin kermit@fastbox ~ $ kill 5624... (7 Replies)
Discussion started by: kermit
7 Replies

6. Red Hat

How to kill all active tcp connections from an IP?

How to kill all active tcp connections from an IP? I am using CentOS (3 Replies)
Discussion started by: an00p
3 Replies

7. Solaris

How to kill the TCP ESTABLISHED connection in netstat

Hello, Actually there are some bugs in application which does not close the TCP connection to other server though CORBA. We need to kill that ESTABLISHED connections as new connection are not happeneing as the allocated ports were used and showing as ESTABLISHED Is there any... (4 Replies)
Discussion started by: GIC1986
4 Replies

8. Shell Programming and Scripting

Kill a PID using script

Hi, I wrote a script to kill a process id. I am able to kill the PID only if I enter the root password in the middle of the execution because I did not run as root i.e after i run the script from the terminal, instead of killing directly, it is killing only after entering the pass when it... (12 Replies)
Discussion started by: rajkumarme_1
12 Replies

9. Shell Programming and Scripting

Kill PID with one liner

Hello Friends, I've been trying to write a one line which checks java processes and filter them for a user (testuser) and then check process arguments with PARGS command and then check if there is certain patterns exists in pargs output then kill the process. I have tried the following so... (2 Replies)
Discussion started by: EAGL€
2 Replies

10. AIX

Kill pid

I created a program to kill long running pid processes. I am getting the following error message: -f command cannot be found. I also want to count the number of pids that are killed and append the results to a text file. I am new to shell script programming. 1.The first part of code... (10 Replies)
Discussion started by: dellanicholson
10 Replies
AXCTL(8)						   Linux System Managers Manual 						  AXCTL(8)

NAME
axctl - Configure/Kill running AX.25 connections. SYNOPSIS
axctl [-v] port dest src window|t1|t2|t3|n2|idle|paclen|kill [parm] DESCRIPTION
The axctl command is designed to be a multi-function command that allows miscellaneous commands to be issued to the Linux AX.25 protocol layer for existing AX.25 connections. The connection is uniquely identified via the combination of port, destination callsign and source callsign, with that information the kernel is able to change the parameters, or abort the connection. Many of the options are similar to those found in axparms and perform the same function. Only one parameter may be changed on each invoka- tion of axctl. OPTIONS
-v Displays the version number. window window Sets the window size for the AX.25 connection. t1 t1-timeout Sets the initial T1 timeout value for the AX.25 connection, the value is given in seconds. t2 t2-timeout Sets the T2 timeout value for the AX.25 connection, the value is given in seconds. t3 t3-timeout Sets the T3 timeout value for the AX.25 connected, the value is given in seconds. n2 n2-count Sets the maximum number of tries for the AX.25 connection. idle idle-timeout Sets the value for the idle timer for the AX.25 connection, the value is in minutes. paclen paclength Sets the maximum packet length that may be transmitted on the AX.25 connection. kill Will abort an existing AX.25 connection. FILES
/etc/ax25/axports SEE ALSO
call(1), getsockopt(2), setsockopt(2), ax25(4), axparms(8), axports(5). AUTHORS
Joerg Reuter DL1BKE <jreuter@poboxes.com> Linux 2 August 1996 AXCTL(8)
All times are GMT -4. The time now is 10:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy