Re: How can i know the process id of the paticular port ?
On Tue, 21 Nov 2006 23:32:18 -0800, koole wrote:
hi ,
1. I wanted to stop/kill a process on the particular port.for eg.7001
was listenning.i wanted to make it idle state or stop it.
2.if u say netstat -a it doesnt say the process id on which it is
running.
try:
netstat -ap
p is for program (also process id)
man netstat
:P
alternative:
netstat -anp | grep 7001
n forces numeric ports etc (in case it is a "well know port")
is there any command to know the process of the port
thanks
koole.
.
Relevant Pages
- Re: Have I been compromised? chkrootkit: "Warning: Possible LKM Trojan installed" - nmap:
... assuming netstat wasn't one of the programs ... listed there for port 1313 correspond to the PIDs chkproc spit out. ... all your services while you upgrade all the software that needs upgrading. ... > Every week or so I'll run chkrootkit, mostly just because I feel I ... (comp.os.linux.security) - RE: I think Ive been hacked...please help!
... > connecting within seconds of boot. ... port scanning the machine from the outside ... experience performing incident response activities, ... one will run netstat and see something listening on ... (Incidents) - Re: Help, my machine has been hacked
... >> also take a look at processes running in your system, ... >> opened (netstat -tupan), environment changesetc. ... If you provide port 80 to the outside ... filter invalid packets, in particular tcp scans with invalid flags, where ... (comp.os.linux.security) - Re: Detecting Internet activity
... connection and then use netstat tool to confirm whether or not the relevant ... port is 20 or 21. ... Title: Enhance netstat ... >- when I open a FTP connection, none of the listed ports match the ... (microsoft.public.win32.programmer.networks) - Re: Hidden windows ports, files and services.
... You need to get those processes that have port 21 open) ... so they will display in the regular task manager list by cleaning out ... whatever is hiding them, then determine what it was hiding. ... too sloppy to hide the port from netstat too. ... (Security-Basics) |
|