FreeBSD Ports

sysutils/flasher 1.3_1

Monitors log or mail files for writes, and flashes a keyboard LED

Repository
FreeBSD ports
Maintainer
[email protected]
Categories
sysutils
Package size
7.2 KiB, 12.9 KiB installed

Description

Flasher monitors changes to one or more files, and indicates the number of writes to these files by briefly flashing a console LED once for each write. The flashing sequence is repeated, after a brief pause, until the files have been read. As the files are subsequently read, the number of LED flashes is reduced. When all monitored files have been read, the console LED will be disabled.

The most obvious use is to monitor specific system log or mail files.

Multiple LEDs can be used. Each possible LED (-c, -n or -s) takes a list of colon-separated file arguments. For example, when invoked as:

\# ./flasher -s /var/log/messages:/var/mail/root

the Scroll Lock LED will flash once for each write made to either of these files, until the files are read. When /var/log/messages has been read, the Scroll Lock LED will continue to flash once for each write that has been made to /var/mail/root, until it also has been read.

The list of files can include files that don't yet exist.

Install

As a binary package — by origin, or by package name:

pkg install sysutils/flasher
pkg install flasher

From the ports tree:

cd /usr/ports/sysutils/flasher/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	flasher>0:sysutils/flasher

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.3_11.3_11.31.3_11.3_1
FreeBSD:14:quarterly1.3_11.3_1n/a1.3_11.3_1
FreeBSD:15:latest1.3_11.3_1n/a1.3_11.3_1
FreeBSD:15:quarterly1.3_11.3_1n/an/an/a
FreeBSD:16:latest1.3_11.3_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Files

distinfo 1
FileSizeSHA256
flasher-1.3.tar.gz612127a3586e090377cda7c00807ce6925caedd8ea3658ce45106e2898d027c09eaa
Master sites 1
  • http://www.unixporting.com/downloads/flasher/

Commit history 0

No commits in the history this site was built from.