Welcome to WebmasterWorld Guest from 54.158.228.55

Forum Moderators: bakedjake

Message Too Old, No Replies

visitors ip in real time

Which linux command returns this?

     
5:17 pm on Nov 16, 2004 (gmt 0)

10+ Year Member



I did a couple of simple scripts in php where I query my apache server for server load and hard disk space, by sending unix commands via php.

Is it possible to get the ip of the current visitors using a linux command?

Thanks in advance.

Enrique

5:34 pm on Nov 16, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



netstat -n

You can just use netstat, but then it will try to do a RDNS lookup, rather than just return the IP addresses.

Matt

6:20 pm on Nov 16, 2004 (gmt 0)

10+ Year Member



Thanks Matt, that's great!

Enrique

 

Featured Threads

Hot Threads This Week

Hot Threads This Month