Last night, the first translation of "command line Tools to Monitor Linux performance" in the first 10 commands, translation is not very good, this evening continue to the back of the 10 also translated to everyone, the first time to write a blog, writing is not particularly good, Hope that we do not mind, but also hope that there is something wrong with the place can be a lot of advice, after all, younger brother or beginner. Now let's learn the following 10 commands!
11,monit–-Linux Process and Services monitoring
Monit is a free open source and web-based process monitoring utility that automatically monitors and manages system processes, applications, files, directories, permissions, checksums, and file systems.
It monitors services such as Apache, MySQL, Mail, FTP, ProFTP, Nginx, SSH and more. The system state can be browsed through the command line or using Monit 's own user interface.
For more commands on Monit, refer to Linux Process monitoring with Monit.
12,nethogs–-Monitor Per Process Network Bandwidth
Nethogs is a better, smaller program, similar to the top command, that can monitor any active network process on the system. It is also capable of recording the real-time network traffic bandwidth used by each program or application.
For more information on how to use this command, refer to monitor Linux Network Bandwidth Using nethogs.
13,iftop--Network Bandwidth monitoring
Iftop is another terminal-based, free, open source system monitoring utility. It shows the bandwidth utilization of the frequently updated network (source host to destination host) through the network interface connected by the system. Iftop is used to monitor network usage, while 'top' is used to monitor CPU usage. The Iftop tool is used to monitor the selected network interface and to display network bandwidth usage between two hosts. The specific usage is as follows
For more information on how to use this command, refer to Iftop–monitor Network Bandwidth utilization.
14,monitorix--System and Network monitoring
Monitorix is a free lightweight utility that is primarily designed to run and monitor systems and network resources as much as possible on Linux/unix servers. It has a built-in Web server that collects information about systems and networks on a regular basis and displays them through images. It monitors the system load average and usage, memory allocation (RAM allocation), disk driver Health (disks-driven healthy state), system Services (System services), network ports (LAN port), Mail statistics ( Sendmail, Postfix , dovecot, etc) Mail statistics, MySQL statistics (MySQL stats) and so on. It is designed to monitor the overall performance of the system and help detect failures, bottlenecks, abnormal activities, etc.
For more information on how to use this command, refer to: Monitorix a System and Network monitoring Tool for Linux.
15,arpwatch--Ethernet Activity Monitor
Arpwatch is a program designed to monitor Ethernet address resolution (MAC and IP address changes). It keeps a log of monitoring Ethernet traffic and generating a change in IP and MAC address pairs as well as timestamps on the network. When there is a change in address to it by sending an email interface to the notice manager. It is very useful for checking the network for ARP attacks .
# arpwatch-i eth0# tail-f/var/log/messageseth0
April 12:45:17 Tecmint arpwatch:new station 172.16.16.64 D0:67:E5:C:9:67APR 12:45:19 Tecmint arpwatch:new Station 17 2.16.25.86 0:d0:b7:23:72:45apr 12:45:19 tecmint arpwatch:new station 172.16.25.86 0:D0:B7:23:72:45APR-12:45:19 TECM int Arpwatch:new Station 172.16.25.86 0:d0:b7:23:72:45apr-12:45:19 tecmint arpwatch:new station 172.16.25.86 0:D0:B7: 23:72:45
For more information on how to use this command, see: Arpwatch to Monitor Ethernet Activity
16,suricata--network Security Monitoring
Suricata is a high-performance open source network security and intrusion detection and prevention monitoring system, FreeBSD and Windows. It is designed and used by a nonprofit foundation OISF.
# suricata-c/etc/suricata/suricata.yaml-i eth0
23/7/2013--12:22:45--This is Suricata version 1.4.4 release23/7/2013--12:22:45--Cpus/cores online:223/7/2013 --12:22:45--Found an MTU of eth0 ' 23/7/2013--12:22:45--allocated 2097152 bytes of memory for the Defra G Hash ... 65536 buckets of size 3223/7/2013--12:22:45--preallocated 65535 defrag trackers of size 10423/7/2013--12:22:45- -Defrag memory usage:8912792 bytes, maximum:3355443223/7/2013-12:22:45--AUTOFP mode using default "Active Packet S "Flow load balancer23/7/2013-12:22:45-preallocated packets. Total Memory 317030423/7/2013--12:22:45--allocated 131072 bytes of memory for the host hash ... 4096 buckets of size 3223/7/2013--12:22:45--preallocated-hosts of size 7623/7/2013--12:22:45--Host memory usage:207072 bytes, maximum:1677721623/7/2013--12:22:45--allocated 2097152 bytes of memory for the flow hash ... 6 5536 Buckets of size 3223/7/2013--12:22:45--preallocated 10000 flows of size 17623/7/2013--12:22:45--Flow memory usage:3857152 bytes, maximum:3355443223/7/2013--12:22:45--IP reputation disabled23/7/2013--12:22:45--using Magic-file/usr/share/file/magic
For more information on how to use this command, refer to: Suricata–a Network intrusion Detection and prevention System.
17,vnstat php–monitoring Network Bandwidth
vnstat PHP A web-based front-end application is the most popular network tool called "vnstat". Vnstat PHP uses a beautiful graphical interface to monitor network traffic. It shows the usage of network traffic sent and received in hourly, weekly, monthly statistics reports.
For more usage of this command, refer to: Vnstat php–monitoring Network Bandwidth.
18,nagios--Network/server monitoring
Nagios is a leading open source, powerful monitoring system that enables network/system administrators to identify and resolve server-related issues before they affect major business processes. Through the Nagios system, administrators can remotely monitor systems, switches, routers and printers through a single window. It shows critical warnings and indications that if you run an error on your network/server, it can indirectly help you begin to remediate errors that occurred before.
For specific use, please refer to:: Install Nagios monitoring System to Monitor Remote linux/windows Hosts.
Nmon--monitor Linux Performance
Nmon (stands for Nigel's performance Monitor) represents the Nigel Performance Monitor tool, which is used to see Linux resources such as CPU, Memory, Disk Usage, Network, Top Processe S, NFS, Kernel and so on. This tool comes in two modes: Online mode and capture (Capture mode) mode.
Online mode, which is used for real-time monitoring. The packet capture mode is used to store the package into a CSV-formatted file.
For more commands please refer to: Install Nmon (performance monitoring) Tool in Linux.
20,collectl--All-in-one performance monitoring Tool
Collectl is another powerful and rich command-line interface utility. It can be used to collect Linux system information such as CPU usage (CPU usage), memory (RAM), network (NET), Inodes (node), processes (process), NFS, TCP, sockets and so on.
More Command reference: Install collectl (all-in-one performance monitoring) Tool in Linux.
The first 10 command-line tools look at the previous article, "20 Linux command-line tools to monitor performance" .
Finally translated 20 Linux command line tools to monitor performance. Also made me realize the importance of learning English. My English proficiency is limited, there are any mistakes in the place also hope that you have a lot of advice.
20 Linux command line tools monitor performance (bottom)