Any script or application is running.
Can i find out the ports its using.
It might be doing rsh, ssh, etc.
Thanks
Page 1 of 1
Find out the ports an application is using
#2
Posted 14 November 2008 - 04:07 AM
Hey Vibhor,
Check out this post:
http://linuxshellaccount.blogspot.com/2007...ing-script.html
I knew someone else would eventually want to use it
You should get output like:
and so forth for all active ports. Enjoy
, Mike
Check out this post:
http://linuxshellaccount.blogspot.com/2007...ing-script.html
I knew someone else would eventually want to use it
You should get output like:
Quote
Port 22 Information :
Service = sshd
PID = 469
User = root
Protocol = TCP
Status = LISTEN
Port 22 Information :
Service = sshd
PID = 469
User = jimmy88
Protocol = TCP
Status = LISTEN
Service = sshd
PID = 469
User = root
Protocol = TCP
Status = LISTEN
Port 22 Information :
Service = sshd
PID = 469
User = jimmy88
Protocol = TCP
Status = LISTEN
and so forth for all active ports. Enjoy
, Mike
The greatest viral marketing idea of all time, get your copy of this Free Report now!
----
Linux Tips, Trick and Advice -- The Linux and Unix Menagerie
----
Linux Tips, Trick and Advice -- The Linux and Unix Menagerie
Share this topic:
Page 1 of 1

Help












