From 6b99ba7c241944b51d5c29aa0890f3d119dd5289 Mon Sep 17 00:00:00 2001 From: des Date: Thu, 6 Jul 2006 09:31:45 +0000 Subject: [PATCH] Add a rudimentary man page. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@347 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishlog/Makefile.am | 2 ++ varnish-cache/bin/varnishlog/varnishlog.1 | 40 +++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 varnish-cache/bin/varnishlog/varnishlog.1 diff --git a/varnish-cache/bin/varnishlog/Makefile.am b/varnish-cache/bin/varnishlog/Makefile.am index f69a6aa2..1c407bc1 100644 --- a/varnish-cache/bin/varnishlog/Makefile.am +++ b/varnish-cache/bin/varnishlog/Makefile.am @@ -4,6 +4,8 @@ INCLUDES = -I$(top_srcdir)/include bin_PROGRAMS = varnishlog +man_MANS = varnishlog.1 + varnishlog_SOURCES = varnishlog.c varnishlog_LDADD = \ diff --git a/varnish-cache/bin/varnishlog/varnishlog.1 b/varnish-cache/bin/varnishlog/varnishlog.1 new file mode 100644 index 00000000..701a9082 --- /dev/null +++ b/varnish-cache/bin/varnishlog/varnishlog.1 @@ -0,0 +1,40 @@ +.\" +.\" $Id$ +.\" +.Dd July 6, 2006 +.Dt VARNISHLOG 1 +.Os +.Sh NAME +.Nm varnishlog +.Nd HTTP accelerator log watcher +.Sh SYNOPSIS +.Nm +.Op Fl o +.Op Fl r Ar file +.Op Fl w Ar file +.Sh DESCRIPTION +The +.Nm +utility reads and presents +.Xr varnishd 1 +shared memory logs. +.Pp +The following options are available: +.Bl -tag -width Fl +.It Fl o +Group log entries by request ID. +.It Fl r Ar file +Read log entries from +.Ar file +instead of shared memory. +.It Fl w Ar file +Write log entries to +.Ar file +instead of displaying them. +.El +.Sh HISTORY +The +.Nm +utility was developed by +.An Poul-Henning Kamp Aq phk@freebsd.dk +in cooperation with Verdens Gang AS and Linpro AS. -- 2.39.5