Server access log


Server is overloaded


If you get any notification from AWS server that is overloaded or anything else here is where the access log is: bash /var/log/apache2/dmain.access.log

To show how many hits by a particular IP, just type this: bash cat /var/log/apache2/www.domain.access.log | grep -c

to see the errors on the server bash cd /var/log/apache2/ then tail -500 to monitor the server cpu usage type: htop

Who –q –count :- tell how many people are logged in

See some more option on who is logged in and other options look