Hello How can i see Visitors and their visit url Via SSh [centos] i was using some command but i forget it and can not find it on internet there is a attack to my server and i wanna see visitors ip and their visit url on website [ i can not see from analytic because JS code doesnt work with that attack visitors]
If you have Apache installed on your server, check the log files lcated in the /var/log/httpd/ directory. For example, the /var/log/httpd/access_log file contains a log of all the IP addresses from where people have accessed your website. Use the following command: tailf /var/log/httpd/access_log It will show you in real time the visitors IP addresses and their visit URL.
Thanks for answer it was apache but now using litespeed how can i see with litespeed ? when it was apache i tried this command" tailf /var/log/httpd/access_log" but it doesnt show visitors url
Enable and configure SERVER-STATUS for your domain.So you can monitor total status with page link. Execute this command to your command prompt for view total connection per IPs netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n Code (markup):