Solved

check number of connections

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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Linux Copy Command - All Files inc Directory 1 42
Red Hat 7 Linux on Azure cannot run a command as root 22 42
awk file 6 51
linux SFTP 8 42
Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

770 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