Solved

check number of connections

Posted on 2013-06-24
4
318 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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

738 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