Introduction:

 

This document will give you outline on how to check server log for error and basic view on top command to know the memory utilization.

 

Server Log View :

 

We have to check the server log using below command mentioned where we can check for any error and all access log.

 

Node js

Apache Server Log :

cd /var/log/apache2

vim error.log

vim access.log

error.log

access.log

 

ngnix Server Log :

cd /var/log/nginx/
vim error.log
vim access.log

 

Ruby

cd /var/log/apache2

vim error.log

vim access.log

cd /var/log/nginx/
vim error.log
vim access.log

 

PHP

cd /var/log/apache2

vim error.log

vim access.log

 

cd /var/log/nginx/
vim error.log
vim access.log

 

Top Command View:

We can check the Load Average , CPU%, and Memory% by using top command.