File: README

package info (click to toggle)
notifyme 1.4.3-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, sarge, squeeze
  • size: 176 kB
  • ctags: 148
  • sloc: ansic: 943; sh: 153; makefile: 116
file content (37 lines) | stat: -rw-r--r-- 1,441 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Notifyme is a GPL'ed Unix (tested under Linux, FreeBSD and OpenBSD) console 
utility that stays in a background (it isn't a daemon but it doesn't 
block terminal either) and prints a message if a specified 
login and/or logout occurs.
You can run it just with command line arguments (see below) but if you
want more flexibility then resource file should be created.
In a resource file ($HOME/.notifyrc by default) you can specify
(extended regular expressions are allowed) usernames, hostnames and terminals 
that should be monitored, optional messages that will be displayed and
other options (beep, report logouts, run external program etc.)
See notifyrc.sample for example. It should be self explanatory.

Usage:

notifyme [-c file] [-C] [-l] [-q] [-h] [USERNAME] ...

Options:
	-c file		use alternate resource file
	-C		always print messages in the center of the screen
	-l 		don't report logouts 
	-q		quiet - no beep with message
	-h		help
	
Rest of the arguments are usernames to watch (extended regular expressions
are allowed).
If no usernames are specified _and_ there is no resource file then ALL logins
and logouts are reported.

USR1 signal can be used to re-read resource file.

Command line options have highest precedence.
(ie. if '-l' then logouts won't be reported no matter what was specified in 
config file)

Please send suggestions, comments, bugreports, bugfixes, flames to

Michal Suszycki <mike@wizard.ae.krakow.pl>