- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Checking application on particular port
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2008 08:39 AM
07-08-2008 08:39 AM
Checking application on particular port
For example .. i'm trying to check the application that utilize high WAN utilisation between these 2 nodes .. i captured the netstat
$ netstat -an | grep 243.69
tcp 0 11 10.243.11.153.59619 10.243.69.117.52828 ESTABLISHED
tcp 0 0 10.243.11.153.49198 10.243.69.117.5555 ESTABLISHED
tcp 0 0 10.243.11.153.50373 10.243.69.117.5555 ESTABLISHED
tcp 0 0 10.243.11.153.59619 10.243.69.117.53876 ESTABLISHED
I only able to grep 5555 info from the /etc/services whilst the port 53876 & 52828 yield no info from the /etc/services .
Regards ,
n0body
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2008 08:47 AM
07-08-2008 08:47 AM
Re: Checking application on particular port
lsof -i tcp | grep port
Second columd is a PID.
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2008 08:49 AM
07-08-2008 08:49 AM
Re: Checking application on particular port
Check it out ,this may help you much .
http://forums12.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1215367503475+28353475&threadId=1183877
Thanks,
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2008 08:57 AM
07-08-2008 08:57 AM
Re: Checking application on particular port
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2008 09:26 AM
07-08-2008 09:26 AM
Re: Checking application on particular port
http://www.iana.org/assignments/port-numbers
Ports in range from 49152 through 65535 are Dynamic and/or Private Ports (not listed in /etc/services).
Some of them are related to OS components, example:
# lsof -i tcp |grep 59790
diaglogd 22974 root 1u IPv4 0x4031c40 0t0 TCP *:59790 (LISTEN)
...
dm_stape 23283 root 5u IPv4 0x44695c0 0t15229 TCP localhost:59834->localhost:59792 (ESTABLISHED)
(these are online diagnostics processes).
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2008 09:36 AM
07-08-2008 09:36 AM
Re: Checking application on particular port
netstat -ap
This works under linux.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2008 09:59 AM
07-08-2008 09:59 AM
Re: Checking application on particular port
lsof is the most common and works great. Delivered on HPUX IExpress CDs or via software.hp.com