'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
Hi,
You may try "lsof" command on the console which ls-s the open files on the
system. Since the sockets are files, you should be able to see the open
ports/owning applications.
AFE
- Original Message -
From: "Raghu Chinthoju" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: 26 November
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
You can try a (locally)
lsof |grep LISTEN to get the listening ports.
Without the quotes
Then look in /etc/services and recognize the services you don't
recognize.
You can try nmap -v -sS -O [ip address] remotely!
-Fab
-Original Message-
From: Raghu Chinthoju [mailto:[EMAIL
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