Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

check number of connections

Posted on 2013-06-24
4
Medium Priority
?
322 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 2000 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

971 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