Welcome to WebmasterWorld Guest from 54.144.36.228

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)

Junior Member

10+ Year Member

joined:Nov 20, 2003
posts:50
votes: 0


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)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Aug 11, 2004
posts:1014
votes: 0


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)

Junior Member

10+ Year Member

joined:Nov 20, 2003
posts:50
votes: 0


Thanks Matt, that's great!

Enrique

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members