- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: how to view the running application in particu...
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
Discussions
Discussions
Forums
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
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
тАО04-23-2009 06:31 AM
тАО04-23-2009 06:31 AM
I am using Redhat linux. in that following ports are open 25,110,143,80,443.
I know that these ports for smtp,pop3,imap,http and https.
But I want to software name like sendmail / postfix and apache or any other we server.
So i want to know the exact application name running in particular ports.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2009 06:45 AM
тАО04-23-2009 06:45 AM
Re: how to view the running application in particular ports
lsof -i :
# lsof -i :22
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
sshd 4855 root 3u IPv6 10866 TCP *:ssh (LISTEN)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2009 06:49 AM
тАО04-23-2009 06:49 AM
Re: how to view the running application in particular ports
I would want to know what is listening.
netstat -an | grep port_number
Then use lsof to get information on the process.
lsof -i 25
# May show multiple sendmail connections.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2009 08:06 AM
тАО04-23-2009 08:06 AM
Re: how to view the running application in particular ports
The command "isof" is not found in my
system.
How to install this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2009 08:15 AM
тАО04-23-2009 08:15 AM
Re: how to view the running application in particular ports
> system.
Nor on anyone else's. "lsof". LSOF <> ISOF.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2009 08:32 AM
тАО04-23-2009 08:32 AM
Re: how to view the running application in particular ports
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2009 08:39 AM
тАО04-23-2009 08:39 AM
Re: how to view the running application in particular ports
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2009 09:28 AM
тАО04-23-2009 09:28 AM
Re: how to view the running application in particular ports
It is standard install on RHEL.
/usr/sbin/lsof
rpm -qf /usr/sbin/lsof
lsof-4.78-3
This is off a RHEL 5.3 system.
That is the package you want to install.
-qf runs a query and asks what package provides the binary.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2009 10:33 AM
тАО04-23-2009 10:33 AM
Solutionnetstat -tunlp
You can use grep to narrow it down:
netstat -tunlp|grep ":21" port 21)