How to Monitor and Manage Your Linux More effectively

linux logoHow to Monitor and Manage Your Linux More effectively

Linux operating system is gaining popularity day by day. The features lies in its security parameters and Stability. The Linux operating system comes in various flavors or more often called distributions like Ubuntu, Fedora, Red Hat, Centos, Open SUSE, Debian etc.

The feature which makes each and every Linux distribution useful is the tools which makes the monitoring and managing very easy. Most of the management and monitoring tools come pre-installed with your Linux distribution.

Here is list of tools which help you monitor and manage your Linux distribution more effectively.

1.) TOP-This command shows the top processes which are consuming more resources.

The top command can be used with following switches:-

k – To kill a process.

m- Shows memory information on or off.

z- set color on and off.

f- manage fields to display in the top menu

2.)ps – Number of processes

ps -A -> shows all the processes running on the system.
ps -a How to Monitor and Manage Your Linux More effectively

3.)vmstat – Shows the System Activity, Hardware and System Information

4.) mpstat – Multiprocessor Usage

Shows the status of the processors.

To show the status of each core you can use

mpstat -all

5.) who – to find out who is logged in.

To check who all are logged in type who at the command prompt.

You can also type w at the command prompt.

6.) Using the Proc file system to display various kernel parameters.

Commands

cat /proc/cpuinfo
cat /proc/meminfo
cat /proc/zoneinfo
cat /proc/mounts

7.) iostat- To check Average CPU Load, Disk Activity.

Akash Deep Singh

|| Eat Packets || Drink Management || Sleep Virtual || Work Linux || Think I.T. || Love MAC || Look After Windows || Dream APPS ||

1 Comment

  1. Ryan   •  

    Hi Akash,

    Very helpful tools you have mentioned.

    I use htop on my ubuntu server.
    netstat is also a useful tool to see all network traffic.
    And nload shows the load on your eth card.

Leave a Reply

Your email address will not be published. Required fields are marked *