'netstat -tap' works for linux, Im assuming its the same on unix?
On Mon, 26 Nov 2001 20:27, Raghu Chinthoju wrote:
Hi Group,
Can we find out what processes are listening on what TCP/IP ports on a UNIX
host?
I there a straight forward command to find that out?
Regards,
Raghu.
This
Hi Group,
Can we find out what processes are listening on what TCP/IP ports on a UNIX
host?
I there a straight forward command to find that out?
In Linux: netstat(8) and fuser(1)
For the other Unices out there, other people must help you :-)
(maybe some of those utils are present in
'netstat -a'
- Original Message -
From: Raghu Chinthoju [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November 26, 2001 9:27 AM
Subject: Listening processes.
Hi Group,
Can we find out what processes are listening on what TCP/IP ports on a
UNIX
host?
I there a straight
* This one time, at band camp, Raghu Chinthoju said:
Hi Group,
Can we find out what processes are listening on what TCP/IP ports on a UNIX
host?
I there a straight forward command to find that out?
You could try any or all of the following
On the machine :
lsof | egrep TCP
D]
Sent: 26 November 2001, Monday 11:27
Subject: Listening processes.
Hi Group,
Can we find out what processes are listening on what TCP/IP ports on a
UNIX
host?
I there a straight forward command to find that out?
Regards,
Raghu.
This message is confidential and may also be legall
Hi.
If you know the port and want to know what process is listening to that port, you can
use this:
fuser -v port#/tcp - for a tcp port
fuser -v port#/udp - for an udp port
I hope it helped.
--
David Laganière
Securinet Administrateur
www: http://www.securinet.qc.ca/
email: [EMAIL
PROTECTED]]
Sent: Monday, November 26, 2001 4:28 AM
To: '[EMAIL PROTECTED]'
Subject: Listening processes.
Hi Group,
Can we find out what processes are listening on what TCP/IP ports on a
UNIX host? I there a straight forward command to find that out?
Regards,
Raghu.
This message is confidential
Not to sound mean, but please read the archives and faq first. ` lsof -i
`does suffice, and
netstat -a -p --inet
if you need more let me know
john
Raghu Chinthoju wrote:
Hi Group,
Can we find out what processes are listening on what TCP/IP ports on a UNIX
host?
I there a straight