Solved

tcp

Posted on 2011-09-23
2
284 Views
Last Modified: 2012-05-12
How may we say that  what  process has a TCP port open in hp Linux
0
Comment
Question by:nobleit
2 Comments
 
LVL 37

Expert Comment

by:Gerwin Jansen
ID: 36589710
Try with lsof (list of open files):

lsof | grep <portno>

lsof would be in /usr/sbin
0
 
LVL 5

Accepted Solution

by:
balasundaram_s earned 500 total points
ID: 36600357
Earlier post is correct, except the option to list the port no., instead of port names;

# lsof -P | grep portno

0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now