Checking system

Procedure for checking System

 

Check the environment.

...]# set

 

Show logged in users and what they are doing.

...]# w

 

Report process status -- make sure all needed processes are running (ex: apache, mysql, ssh).

...]# ps -auxf

 

Display used/free system memory.

...]# free -m

 

Display used/free disk memory.

...]# df -h

 

Display network interface information -- make sure your interfaces are up and running.

...]# ifconfig

 

Show network connections -- check the ports your system is listening on and the programs behind those ports.

...]# netstat -ape

 

View logged activity.

...]# less /var/log/secure

 

View logged activity.

...]# less /var/log/messages

 

Show listing of last logged in users.

...]# last

 

Show log of login activity by user name.

...]# lastlog

 

List loaded modules.

...]# lsmod

 

  • 28 Users Found This Useful
Was this answer helpful?

Related Articles

Processes management

List running processes with their pids, under a hierarchical structure. ...]# ps -auxf   Kill...

Uninstalling and removing the packages

Just use the following command: sudo apt-get remove {package-name}   For example remove...

Increasing file upload size

To increase the file upload size we have to edit two values in php.ini: upload_max_filesize and...

Midnight Commander Shortcuts

Common Functions Ctrl + r -- Refresh active panelCtrl + t -- Mark single fileCtrl + x c -- Opens...

Installing GIT

There are many ways to set up a GIT server with console. This article shows one way to set up a...

Powered by WHMCompleteSolution