Top 5 Linux monitoring tools Every linux admin should know

Here i’am introducing the most popular, top 5 linux monitoring tools/commands. All the Linux distributions  have some built in linux monitoring tools and couple more add-ons for monitoring linux resource and performance. Including network, CPU, memory, Disk I/O, etc. Unlike Windows based servers, you are administering linux servers via command line on a shell. Since monitoring is essential for all the servers, here is the top frequently used 5 linux monitoring tools/commands.

Top 5 Linux monitoring tools

#1. “Top” command

One of the basic but essential linux monitoring tools that works on all the linuc distributions like Ubuntu, CentOS, Redhat, Debian, Fedora, etc. Top command displays all the precess running on with its PID, CPU, memory, virtual memory, time, etc. Simply press “q” to quit from the top command tool.

Top Command Usage examples (available switches -U User , -p PID , -d update intervals (in seconds)

Sample Output:

 #2 vmstat commandLinux monitoring tools

vmstat command is used for displaying the information about the following resources. Process, memory, paging, CPU, disk I/O, system, Swap, etc.

Command usage:

Available vmstat command switches

Example:

Sample Output:

#3. free command

Free is another simple but very usefull linux monitoring tool to monitor Memory resource usage. Free command can monitor the usage of Physical memory, virtual memory, Swap memory usage, buffer memory, cached, etc.

Command usage:

available free command switches:

Sample output:

#4  netstat command

netstat is another powerful built-in Linux monitoring tools used for getting the netword statistics. The command output displays the status of active network connections to/from the server. The output will displays the opened/ connected ports, remote/foreign ipaddres, connection state, type, etc.

command usage:

Sample command output:

#5 tcpdump command

tcpdump is one of the most powerful linux monitoring tools for network administration. tcpdump command will display packets i/o in a linux server. the popular command usage is monitoring the packets flow on a network interface

tcpdump command usage:

Sample output:

Leave a Reply

Are you a human being ? *