• Home
  • Hosting
  • Tech
  • Server
  • Security
Mex Linux
  • Home
  • Hosting
  • Tech
  • Server
  • Security
No Result
View All Result
mexlinux.com
  • Home
  • Hosting
  • Tech
  • Server
  • Security
No Result
View All Result
mexlinux.com
No Result
View All Result

Top 12 Linux Monitoring Command Line Tools

admin by admin
September 25, 2020
Home Latest
Share on FacebookShare on Twitter

 

Being a Linux administrator just isn’t a simple job. It takes lot of time, persistence, and arduous work to maintain the methods up and working. However Linux System Admins can take some breather as they’ve some assist in the type of command line monitoring instruments. These instruments assist them to maintain a tab on the Linux server performances and repair something if discovered irregular. On this article, we’ll have a look at the highest 12 command line instruments to observe Linux efficiency.

1) Prime

With none doubt the highest command is the primary command line device to observe Linux. It is likely one of the most generally used instructions by Linux system directors everywhere in the world. It rapidly gives particulars about all working processes in an ordered record. The record additionally retains updating in actual time. Not solely the method names, it additionally shows the reminiscence utilization and CPU utilization and so on.

Top 12 Linux Monitoring Command Line ToolsTop 12 Linux Monitoring Command Line Tools

Additionally Learn: 25 Prime Command Examples to Monitor Linux Server Efficiency

2 ) vmstat

vmstst is the command line utility that occupies the 2nd place in our record. Its foremost process is used to show digital reminiscence statistics. It additionally lets you show varied data together with all system processes, CPU exercise, paging, block IO, kernel threads and disks and so on. vmstat is the a part of default set up in nearly all of the Linux distribution, so it’s obtainable straight means after the set up.

Top 12 Linux Monitoring Command Line ToolsTop 12 Linux Monitoring Command Line Tools

3) lsof

If you wish to have a look at all of the information at the moment opened within the system, then it is advisable make use of the lsof command. It is usually used to observe all processes at the moment in use. One of many main benefits of this command is that it helps directors to see the information at the moment in use when a disk can’t be unmounted. Utilizing this command, these information will be recognized simply. lsof command just isn’t obtainable after the default Linux OS set up, so first we’ve to put in it utilizing following command:

For CentOS / RHEL

$ sudo yum set up -y lsof              // CentOS 7 / RHEL 7 or earlier than
$ sudo dnf set up -y lsof              // CentOS 8 / RHEL 8

For Ubuntu / Debian

$ apt-get set up -y lsof
Or
$ apt-get set up -y lsof

To make use of lsof commmand, kind lsof and hit enter

Top 12 Linux Monitoring Command Line ToolsTop 12 Linux Monitoring Command Line Tools

Additionally Learn : 18 Fast ‘lsof’ command examples for Linux Geeks

4) tcpdump

Tcpdump is one other command line utility that permits Linux system directors and community engineers to observe all TCP/IP packets transferred over a community. Utilizing tcpdump, one may also save all of the packets in a separate file for evaluation sooner or later.

Tcpdump just isn’t a part of default OS set up, so earlier than begin utilizing it first set up through following instructions:

$ sudo yum set up tcpdump -y    // CentOS 7 / RHEL 7 or earlier than
$ sudo dnf set up tcpdump -y    //CentOS 8 / RHEL 8
$ sudo apt set up tcpdump -y    // Ubuntu / Debian

To Begin capturing the packets on particular interface, run the next command,

# tcpdump -i enp0s3

Top 12 Linux Monitoring Command Line ToolsTop 12 Linux Monitoring Command Line Tools

Additionally Learn: Tips on how to seize and analyze packets with tcpdump command on Linux

5) netstat

Netstat is likely one of the oldest command line utility used for community troubleshooting. Utilizing netstat we are able to simply discover community connections, routing tables, Ethernet card statistics and masquerade connections.  In different phrases, we are able to say, it additionally helps you troubleshoot any community associated points rapidly. Within the newest Linux distributions, netstat just isn’t the a part of default set up. Use beneath command to put in it on totally different Linux distributions.

For CentOS 8 / RHEL 8

$ sudo dnf set up net-tools -y

For Ubuntu / Debian

$ sudo apt set up -y net-tools

Run following command to record all tcp connections in your Linux system,

# netstat -tunlp

Top 12 Linux Monitoring Command Line ToolsTop 12 Linux Monitoring Command Line Tools

6) htop

htop command is one other feature-rich command line utility that gives real-time monitoring of varied important sources within the Linux system. In comparison with the highest command, htop is a much-improvised model and even gives coloration coded output for simpler understanding. It additionally helps each horizontal and vertical viewing and likewise permits directors to handle processes as properly.

To Set up htop on Linux methods, execute following command,

$ sudo yum set up -y htop              // CentOS 7 / RHEL 7 or earlier than
$ sudo dnf set up -y htop              // CentOS 8 / RHEL Eight or earlier than
$ sudo apt set up -y htop              // Ubuntu / Debian

Pattern output of htop command:

$ htop

Top 12 Linux Monitoring Command Line ToolsTop 12 Linux Monitoring Command Line Tools

7) iotop

iotop is one other free command line utility that permits admins to observe disk I/O utilization particulars. Regardless that it’s much like the highest and htop command, one of many foremost benefits of iotop is that it gives a element for a particular thread or a course of within the system. Therefore, system directors can simply determine the method that’s inflicting plenty of I/O rewrites to the server.

To Set up iotop on totally different Linux distributions, run

$ sudo dnf set up -y iotop    // CentOS 8 / RHEL 8
$ sudo yum set up -y iotop   // CentOS 7 / RHEL 7
$ sudo apt set up -y iotop    // Ubuntu / Debian

To begin utilizing iotop utility, kind iotop on command line and hit enter,

$ iotop

Top 12 Linux Monitoring Command Line ToolsTop 12 Linux Monitoring Command Line Tools

8) iostat

Because the title suggests, iostat is a Linux command line device that gives detailed statistics concerning the methods enter/output for each gadgets and partitions. Linux system directors may also use this command line device to observe the efficiency of each native and distant disks (NFS) as properly.

Pattern output of iostat is proven beneath:

$ iostat

Top 12 Linux Monitoring Command Line ToolsTop 12 Linux Monitoring Command Line Tools

9)  goaccess

Goaccess is an open-source actual time log viewer and analyzer command line device. It’s obtainable for nearly all Linux distributions. It’s can used to view actual time logs for all internet servers (Nginx , Apache, Amazon S3 and CloudFront and so on).

Set up of Goaccess on CentOS 8 / RHEL 8

$ wget https://pkgs.dyn.su/el8/base/x86_64/goaccess-1.3-3.el8.x86_64.rpm
$ sudo dnf localinstall goaccess-1.3-3.el8.x86_64.rpm  -y

For Ubuntu / Debian

$ sudo apt get set up goaccess

To investigate actual time Apache internet server’s log , run following goaccess command

$ sudo goaccess /var/log/httpd/access_log –log-format=COMBINED

Top 12 Linux Monitoring Command Line ToolsTop 12 Linux Monitoring Command Line Tools

10) glances

Glances is a free and cross-platform command line device to observe linux system. Glances is obtainable for nearly all of the Linux distributions and might accumulate system statistics other than the monitoring. It’s written in python and makes use of psutil library to retrieve helpful data from the system. Glances can be utilized in three other ways:

  • Standalone command line utility
  • Consumer and Server
  • Net Server

To Set up glances on CentOS / RHEL system, run

$ sudo dnf set up -y glances            // CentOS 8 / RHEL 8
$ sudo yum set up -y glances            // CentOS 7 / RHEL 7

To Set up Glances on Ubuntu / Debian system, run

$ sudo apt get set up -y glances

To begin utilizing glances, kind glances command,

$ glances

Top 12 Linux Monitoring Command Line ToolsTop 12 Linux Monitoring Command Line Tools

11) iptraf

Subsequent in our record is iptraf, a command line utility that gives actual time monitoring of Ethernet playing cards and networks. Utilizing iptraf, system and community admins can collect plenty of particulars together with:

  • TCP visitors abstract
  • ICMP
  • IP visitors
  • UDP visitors
  • Interface exercise
  • Statistical breakdowns
  • Detailed interface statistics

In comparison with different instructions like iftop, we are able to say that iptraf gives a extra detailed breakdown and statistics. Iptraf just isn’t the a part of default OS set up, so to put in it run following command,

For CentOS / RHEL

$ sudo dnf set up -y iptraf-ng
Or
$ sudo yum set up -y iptraf-ng

For Ubuntu / Debian

$ sudo apt set up -y iptraf-ng

To begin iptraf utility, kind iptraf-ng command and select the ethernet card,

$ iptraf-ng

Top 12 Linux Monitoring Command Line ToolsTop 12 Linux Monitoring Command Line Tools

12) Iftop

The command line device that occupies the 12th place in our record is the iftop device. It’s a easy command line device that exhibits you bandwidth utilization on the Ethernet playing cards of your Linux system. System and community admins use this device for bandwidth monitoring. With iftop you may view each the supply and vacation spot within the first community interface it listens to.

To put in iftop on CentOS / RHEL methods, run following command

$ sudo dnf set up -y iftop
$ sudo yum set up -y iftop

For Ubuntu / Debian methods, run

$ sudo apt set up -y iftop

Sort iftop to begin this utility, instance is proven beneath:

$ iftop

Top 12 Linux Monitoring Command Line ToolsTop 12 Linux Monitoring Command Line Tools

htop watch process,linux server monitoring dashboard,linux how-tos,mastering top command in linux,linux 8 commands,sar command file,linux system monitor gui,monitorix,linux perfmeter,how to check if linux server is slow,top linux tools,linux monit,monitoring software for ubuntu,linux debugging tools for c,performance tuning parameters in linux,linux performance monitoring counters,linux performance profiling,find command geek stuff,linux system monitor web interface,mate-system-monitor,linux todo manager,lxtask,best task manager for linux,gnome system monitor,linux monitoring tools open source,monitorix snmp,real time monitoring linux,linux-dash,linux network tools gui,linux server monitoring tools,sensu core,monitorix ubuntu,linux sysadmin tools,linux performance monitoring tools,best monitoring tools for linux servers,ubuntu performance monitor command line,linux performance monitoring commands

admin

admin

Next Post
Top 12 Linux Monitoring Command Line Tools

How does deterministic security assist in reducing false positives?

Recommended.

Top 12 Linux Monitoring Command Line Tools

6 of the best smart power strips for even more devices to control

September 28, 2020
Top 12 Linux Monitoring Command Line Tools

An interview with Elden Pixels, the creator of Alwa’s Legacy and Alwa’s Awakening

August 18, 2020

Trending.

Top 12 Linux Monitoring Command Line Tools

Got Kids? Limit Computer Usage Per Account in Linux With Timekpr-nExt

October 29, 2020
Top 12 Linux Monitoring Command Line Tools

How to restart the Ubuntu 20.04-Linux Hint network

September 25, 2020
Top 12 Linux Monitoring Command Line Tools

LockBit ransomware seamlessly encrypts 225 systems

May 13, 2020
Top 12 Linux Monitoring Command Line Tools

Download Ultimate ‘Security for Management’ Presentation Template

October 30, 2020
Top 12 Linux Monitoring Command Line Tools

How to capitalize the first letter of the python string and other uses of the capitalize) (function – Linux Hint

May 5, 2020
mexlinux.com

MexLinux.com

We develop for Linux for a living, We used to develop for DOS.
Going from DOS to Linux is like trading a glider for an F117.

Categories

  • Hosting
  • Latest
  • Security
  • Server
  • Tech

Recent News

Top 12 Linux Monitoring Command Line Tools

Delivering value to a remote workforce: A practical approach

November 19, 2020
Top 12 Linux Monitoring Command Line Tools

Tetrade hackers target 112 financial apps with Ghimob banking TrojanSecurity Affairs

November 18, 2020
  • Home
  • Hosting
  • Tech
  • Server
  • Security

© 2020 MexLinux - Sitemap

No Result
View All Result
  • Home
  • Hosting
  • Tech
  • Server
  • Security

© 2020 MexLinux - Sitemap