Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-30-2008, 08:15 AM   #1
LQ Newbie
Registered: Mar 2007
Location: Bangalore
Posts: 4

Rep: Reputation: 0
Question which port number is heavily accessed


I would like to know which port number is heavily loaded/accessed in the unix system. Is there any command to check the usability of particular port number?

For example, if i want to check the port number 80, in the following scenarios,
how many users are accessing and their usage of the resource?

Old 10-30-2008, 09:37 AM   #2
Registered: May 2008
Location: Romania
Distribution: Debian
Posts: 242

Rep: Reputation: 41
You should look at this from the software perspective..the software that listens at port 80.
Because you will find for sure.. lets say that apache is listening on port 80..some utilities that will show you the load on apache..diferent users that are accessing the server etc..cpu load generated by apache, memory usage for apache processes
just my 2 cents..

if you know what process listens on some port you could use utilities like top.

Last edited by ddaemonunics; 10-30-2008 at 09:40 AM.
Old 10-30-2008, 09:49 AM   #3
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,397
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
You can get a decent snapshot summary of open ports with
lsof | grep IPv
This will show the names of the programs using the ports, as well as the users and PIDs. Some port numbers will be displayed in name format, and you can refer to /etc/services to look up their numeric values, if that is more useful.

--- rod.

Last edited by theNbomr; 10-30-2008 at 09:51 AM.
Old 10-30-2008, 08:04 PM   #4
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,412

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
Also for Apache, look at the access_log.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
internal LAN IPs to get accessed from Internet ( not through port forwarding ) edywas Linux - Networking 4 10-26-2007 04:30 PM
USB to serail port adaptor COM port number areftaidi Linux - Software 2 09-25-2007 02:05 AM
Port number.... help rajsun Programming 2 04-12-2005 10:20 AM
Ip and port number Alien18 Linux - Networking 1 09-13-2004 10:40 PM
kdeinit process running heavily cbb Linux - Software 0 09-10-2004 04:26 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:53 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration