Solved

tcp

Posted on 2011-09-23
2
287 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 38

Expert Comment

by:Gerwin Jansen, EE MVE
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
how to monitor remote shell execution on linux 9 104
Oracle Finace 3 88
Problem logging tar errors 11 65
Using sort and uniq to pare down large syslog 6 54
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

820 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