Solved

check number of connections

Posted on 2013-06-24
4
320 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
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…
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.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

622 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