homepage Welcome to WebmasterWorld Guest from 54.196.168.78
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
visitors ip in real time
Which linux command returns this?
Eugenios




msg:908307
 5:17 pm on Nov 16, 2004 (gmt 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

 

Matt Probert




msg:908308
 5:34 pm on Nov 16, 2004 (gmt 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

Eugenios




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

Thanks Matt, that's great!

Enrique

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved