User Tools

Site Tools


pages:howtos:diagnose:linux-diagnosis-and-monitoring-tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
pages:howtos:diagnose:linux-diagnosis-and-monitoring-tools [2022/02/07 14:21] mischerhpages:howtos:diagnose:linux-diagnosis-and-monitoring-tools [2023/06/15 16:42] (current) – [mytop] mischerh
Line 1: Line 1:
-{{tag>howto linux windows aix diagnosis monitoring tools top htop atop netatop apache apachetop modstatus proftp ftptop mytop mysql mariadb powertop iotop ntopng iftop jnettop bandwidthd etherape ethtool nethogs iptraf ngrep mrtg bmon traceroute traceroute6 tracert6 iptstate darkstat vnstat netstat ss nmap mtr tcpdump justniffer serverdensity opennms sysusage pcp ksysguard munin nagios icinga zenoss cacti zabbix nmon conky glances squid sarg saidar libstatgrab rrdtool procexp linuxprocessexplorer df dstat netsnmp incron monitorix vmstat mpstat pmap uptime ps sar}}+{{tag>howto linux windows aix diagnosis monitoring tools top htop atop netatop apache apachetop modstatus proftp ftptop mytop mysql mariadb powertop iotop ntopng iftop jnettop bandwidthd etherape ethtool nethogs iptraf ngrep mrtg bmon traceroute traceroute6 tracert6 iptstate darkstat vnstat netstat ss nmap mtr tcpdump justniffer serverdensity opennms sysusage pcp ksysguard munin nagios icinga zenoss cacti zabbix nmon conky glances squid sarg saidar libstatgrab rrdtool procexp linuxprocessexplorer df dstat netsnmp incron monitorix vmstat mpstat pmap uptime ps sar sysstat iostat collectl free goaccess logwatch swatchdog multitail}}
  
 FIXME FIXME
Line 31: Line 31:
   * https://github.com/JeremyJones/Apachetop   * https://github.com/JeremyJones/Apachetop
   * https://github.com/JeremyJones/Apachetop/wiki   * https://github.com/JeremyJones/Apachetop/wiki
-apachetop is a console-based (non-gui) tool for monitoring the threads and overall performance of a set of Apache web servers. It runs on Unix systems which have Perl, LWP, and Term::ReadKey installed. It is based largely on the excellent mytop tool written by Jeremy Zawodny.+apachetop is a console-based (non-gui) tool for monitoring the threads and overall performance of a set of Apache web servers. It runs on Unix systems which have Perl, LWP, and <nowiki>Term::ReadKey</nowiki> installed. It is based largely on the excellent mytop tool written by Jeremy Zawodny.
  
 ===== Apache mod_status ===== ===== Apache mod_status =====
Line 58: Line 58:
   * https://jeremy.zawodny.com/mysql/mytop/   * https://jeremy.zawodny.com/mysql/mytop/
   * https://jeremy.zawodny.com/mysql/mytop/mytop.html   * https://jeremy.zawodny.com/mysql/mytop/mytop.html
-mytop is a console-based (non-gui) tool for monitoring the threads and overall performance of a MySQL 3.22.x, 3.23.x, and 4.x server. It runs on most Unix systems (including Mac OS X) which have Perl, DBI, and Term::ReadKey installed. And with Term::ANSIColor installed you even get color. If you install Time::HiRes, you'll get good real-time queries/second stats. As of version 0.7, it even runs on Windows (somewhat).+mytop is a console-based (non-gui) tool for monitoring the threads and overall performance of a MySQL 3.22.x, 3.23.x, and 4.x server. It runs on most Unix systems (including Mac OS X) which have Perl, DBI, and <nowiki>Term::ReadKey</nowiki> installed. And with <nowiki>Term::ANSIColor</nowiki> installed you even get color. If you install Time::HiRes, you'll get good real-time queries/second stats. As of version 0.7, it even runs on Windows (somewhat).
  
 ===== powertop ===== ===== powertop =====
Line 485: Line 485:
   * iostat has support for devices managed by drivers in userspace like spdk.   * iostat has support for devices managed by drivers in userspace like spdk.
  
- +===== iostat ===== 
- +  * http://sebastien.godard.pagesperso-orange.fr/ 
- +  * http://sebastien.godard.pagesperso-orange.fr/man_iostat.html
- +
-collectl- All-in-One Performance Monitoring Tool +
- +
-Collectl is a yet another powerful and feature rich command line based utility, that can be used to gather information about Linux system resources such as CPU usage, memory, network, inodes, processes, nfs, tcp, sockets and much more. +
- +
-~\ownCloud\zim\Bilder\DEF\artikel-linux-monitoring-tools\collectl.jpg +
- +
-~\ownCloud\zim\Bilder\DEF\artikel-linux-monitoring-tools\Collectl-620x410.jpg +
- +
-Similar to sar collectl collects performance metrics for your machine. By default it shows cpu, network and disk stats but it collects a lot more. The difference to sar is collectl is able to deal with times below 1 second, it can be fed into a plotting tool directly and collectl monitors processes more extensively+
-* http://collectl.sourceforge.net/ +
-* Read More: Install Collectl (All-in-One Performance Monitoring) Tool in Linux +
- +
- +
-iostat +
- +
-~\ownCloud\zim\Bilder\DEF\artikel-linux-monitoring-tools\iostat.jpg +
 iostat is also part of the sysstat package. This command is used for monitoring system input/output. The reports themselves can be used to change system configurations to better balance input/output load between hard drives in your machine. iostat is also part of the sysstat package. This command is used for monitoring system input/output. The reports themselves can be used to change system configurations to better balance input/output load between hard drives in your machine.
-* http://sebastien.godard.pagesperso-orange.fr/ 
- 
- 
-free 
- 
-~\ownCloud\zim\Bilder\DEF\artikel-linux-monitoring-tools\free.jpg 
- 
-This is a built-in command that displays the total amount of free and used physical memory on your machine. It also displays the buffers used by the kernel at that given moment. 
- 
- 
-/Proc file system 
- 
-~\ownCloud\zim\Bilder\DEF\artikel-linux-monitoring-tools\procfile.jpg 
- 
-The proc file system gives you a peek into kernel statistics. From these statistics you can get detailed information about the different hardware devices on your machine. Take a look at the full list of the proc file statistics 
- 
- 
-GKrellM 
- 
-GKrellm is a gui application that monitor the status of your hardware such CPU, main memory, hard disks, network interfaces and many other things. It can also monitor and launch a mail reader of your choice. 
-* http://members.dslextreme.com/users/billw/gkrellm/gkrellm.html 
- 
- 
-Gnome system monitor 
- 
-~\ownCloud\zim\Bilder\DEF\artikel-linux-monitoring-tools\gnome-system-monitor.jpg 
- 
-Gnome system monitor is a basic system monitoring tool that has features looking at process dependencies from a tree view, kill or renice processes and graphs of all server metrics. 
-* http://freecode.com/projects/gnome-system-monitor 
- 
- 
-GoAccess 
- 
-~\ownCloud\zim\Bilder\DEF\artikel-linux-monitoring-tools\goaccess.jpg 
- 
-GoAccess is a real-time web log analyzer which analyzes the access log from either apache, nginx or amazon cloudfront. It’s also possible to output the data into HTML, JSON or CSV. It will give you general statistics, top visitors, 404s, geolocation and many other things. 
-* http://goaccess.io/ 
  
  
-Logwatch+===== collectl ===== 
 +  * https://linux.die.net/man/1/collectl 
 +  * http://collectl.sourceforge.net/ 
 +  * http://collectl.sourceforge.net/Documentation.html 
 + There are a number of times in which you find yourself needing performance data. These can include benchmarking, monitoring a system's general heath or trying to determine what your system was doing at some time in the past. Sometimes you just want to know what the system is doing right now. Depending on what you're doing, you often end up using different tools, each designed to for that specific situation.
  
-Logwatch is log analysis system. It parses through your system’s logs and creates report analyzing the areas that you specifyIt can give you daily reports with short digests of the activities taking place on your machine. +Unlike most monitoring tools that either focus on small set of statistics, format their output in only one way, run either interatively or as daemon but not both, collectl tries to do it allYou can choose to monitor any of a broad set of subsystems which currently include buddyinfo, cpu, disk, inodes, infiniband, lustre, memory, network, nfs, processes, quadrics, slabs, sockets and tcp.
-* http://sourceforge.net/projects/logwatch/+
  
 +===== free =====
 +  * https://man7.org/linux/man-pages/man1/free.1.html
 +free displays the total amount of free and used physical and swap memory in the system, as well as the buffers and caches used by the kernel. The information is gathered by parsing /proc/meminfo.
  
-Swatch+===== /proc file system ===== 
 +  * https://www.kernel.org/doc/html/latest/filesystems/proc.html 
 +  * https://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/proc.html 
 +/proc is very special in that it is also a virtual filesystem. It's sometimes referred to as a process information pseudo-file system. It doesn't contain 'real' files but runtime system information (e.g. system memory, devices mounted, hardware configuration, etc). For this reason it can be regarded as a control and information centre for the kernel. In fact, quite a lot of system utilities are simply calls to files in this directory. For example, 'lsmod' is the same as 'cat /proc/modules' while 'lspci' is a synonym for 'cat /proc/pci'. By altering files located in this directory you can even read/change kernel parameters (sysctl) while the system is running.
  
-~\ownCloud\zim\Bilder\DEF\artikel-linux-monitoring-tools\swatch.jpg+===== GKrellM ===== 
 +  * http://gkrellm.srcbox.net/ 
 +  * https://git.srcbox.net/gkrellm/gkrellm 
 +GKrellM is a single process stack of system monitors which supports applying themes to match its appearance to your window manager, Gtk, or any other theme.
  
-Much like Logwatch Swatch also monitors your logs, but instead of giving reports it watches for regular expression and notifies you via mail or the console when there is a matchIt could be used for intruder detection for example+===== Gnome system monitor ===== 
-http://sourceforge.net/projects/swatch/+  * https://wiki.gnome.org/Apps/SystemMonitor 
 +  https://help.gnome.org/users/gnome-system-monitor/stable/ 
 +System Monitor is a tool to manage running processes and monitor system resources. 
  
 +===== GoAccess =====
 +  * https://github.com/allinurl/goaccess
 +  * https://goaccess.io/
 +  * https://goaccess.io/man
 +GoAccess is an open-source web analytics application for Unix-like operating systems. It has both a text-based and a web application user interface. It can provide real-time analytics by continuously monitoring web server logs. GoAccess is an open source real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.
  
-MultiTail+It provides fast and valuable HTTP statistics for system administrators that require a visual server report on the fly. 
  
-~\ownCloud\zim\Bilder\DEF\artikel-linux-monitoring-tools\multitail.jpg+===== Logwatch ===== 
 +  * https://linux.die.net/man/8/logwatch 
 +  * https://sourceforge.net/projects/logwatch/ 
 +Logwatch is a customizable, pluggable log-monitoring system. It will go through your logs for a given period of time and make a report in the areas that you wish with the detail that you wish. Logwatch is being used for Linux and many types of UNIX
  
-MultiTail helps you monitor logfiles in multiple windows. You can merge two or more of these logfiles into one. It will also use colors to display the logfiles for easier reading with the help of regular expressions+===== Swatchdog ===== 
-* http://www.vanheusden.com/multitail/+  * http://sourceforge.net/projects/swatch/ 
 +  * http://swatch.sourceforge.net/ 
 +Swatch: the active log file monitoring tool. Swatch started out as the "simple watchdog" for activly monitoring log files produced by UNIX's syslog facility. It has since been evolving into a utility that can monitor just about any type of log. 
  
 +===== MultiTail =====
 +  * https://github.com/halturin/multitail
 +  * http://www.vanheusden.com/multitail/
 +  * https://www.vanheusden.com/multitail/examples.html
 +  * https://linux.die.net/man/1/multitail
 +MultiTail allows you to monitor logfiles and command output in multiple windows in a terminal, colorize, filter, and merge.
  
 acct or psacct – Monitor User Activity acct or psacct – Monitor User Activity
pages/howtos/diagnose/linux-diagnosis-and-monitoring-tools.1644243697.txt.gz · Last modified: 2022/02/07 14:21 by mischerh