Solved

tcp

Posted on 2011-09-23
2
286 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, 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
File sharing syncing(Production to DR, DR back to Production) 2 32
how to check for shares on HP-UX 1 62
Write an app 10 70
Adding a continue option in a script 9 40
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

832 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