Solved

check number of connections

Posted on 2013-06-24
4
317 Views
Last Modified: 2013-06-24
How to check no. of users currently connect to port 80 on Centos ?

For the services started on Centos (eg. httpd), will there be a system account (eg. root) associated in order to let it start ?

Tks
0
Comment
Question by:AXISHK
  • 2
4 Comments
 
LVL 6

Expert Comment

by:Vijay Pratap Singh
ID: 39270606
Command :netstat -antp | grep :80 | wc -l  

80 is HTTP Port xD
0
 

Author Comment

by:AXISHK
ID: 39270636
Is it possble to tell which users / workstation is using ?

Tks
0
 
LVL 3

Accepted Solution

by:
rajeev2353 earned 500 total points
ID: 39270959
hi,

you can use to this command

#netstat -antp | grep :80   =================> you can see ip, which is access your tcp

#netstat -antp | grep :80 | wc -l  =================> you can see counting all
0
 

Author Comment

by:AXISHK
ID: 39271591
for the services on httpd, will there be a login ID binded to it (similar to that in Window server) ?

Tks
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

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
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.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

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