How To Install Swatchdog?

How To Install Swatchdog?

swatchdog

Log file viewer with regexp matching, highlighting & hooks

Maintainer: Debian Security Tools



Section: admin

Install swatchdog

  • Debian apt-get install swatch Click to copy
  • Ubuntu apt-get install swatch Click to copy
  • Alpine OS apk add swatch Click to copy
  • Kali Linux apt-get install swatch Click to copy
  • Fedora dnf install swatch Click to copy
  • Raspbian apt-get install swatch Click to copy

swatch

Log file viewer with regexp matching, highlighting & hooks

Swatch is designed to monitor system activity. It reads a configuration file which contains pattern(s) to look for and action(s) to perform when each pattern is found. A typical action is echoing the matched line in a variety of colours and formats including reverse video, bold, underline, and normal, which swatch knows how to do internally. Other actions include sending mail or executing an arbitrary program on the line. Swatch is written in Perl and uses Perl regular expressions for line matching.

Installation of latest swatchdog command is available for Debian, Ubuntu, Alpine, Kali, Fedora and Raspbian. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2024 latest package from the repository and install it in your computer/server.