1The scripts in this subdirectory give examples of using lsof's
2field output.
3
4big_brother.perl5	Perl 5 script, contributed by Lionel Cons
5			<Lionel.Cons@cern.ch>, that watches for new
6			network connections.
7
8count_pf.perl		Perl 4 or 5 script that runs lsof in repeat
9			mode, gathering process, file, TCP, and UDP
10			counts
11
12count_pf.perl5		Perl 5 script that runs lsof in repeat mode,
13			gathering process, file, TCP, and UDP counts
14
15			This script uses NUL terminated lsof field
16			output.
17
18identd.perl5            Perl 5 script, contributed by Kapil Chowksey
19			<kchowksey@hss.hns.com> that implements an
20			identd server. (Thanks, Kapil!)
21
22idrlogin.perl           Perl 4 script that identifies the shell and
23			network source address of users who have logged
24			on from remote locations via rlogin, ssh, or
25			telnet
26
27idrlogin.perl5		Perl 5 script that identifies the shell and
28			network source address of users who have logged
29			on from remote locations via rlogin, ssh, or
30			telnet
31
32list_NULf.perl5		Perl 5 script that prints lsof's NUL terminated
33			field output
34
35list_fields.awk		AWK script that prints lsof's field output
36
37list_fields.perl	Perl 4 or 5 script that prints lsof's field
38			output
39
40shared.perl5		Perl 5 script that uses +ffn output to produce
41			a list of file descriptors or files shared by
42			processes.
43
44sort_res.perl5		Perl 5 script, contributed by Fabian Frederick
45			<fabian.frederick@gmx.fr>, to display top resource
46			usage.
47
48watch_a_file.perl	Perl 4 or 5 script that watches the use of a
49			named file
50
51xusers.awk		an AWK (actually NAWK) script, written by
52			Dan A. Mercer <damercer@mmm.com> that, "Prints
53			list of users and applications signed on X
54			workstations."  This script was developed
55			and is used with lsof on HP-UX systems.
56
57Vic Abell
58December 28, 1998
59