Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
unique-xids
Commits
5ba20ed3
Commit
5ba20ed3
authored
Sep 21, 2011
by
Tollef Fog Heen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add varnish-counters(7) man page
parent
08b8b27e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
84 additions
and
1 deletion
+84
-1
.gitignore
.gitignore
+2
-0
Makefile.am
man/Makefile.am
+17
-1
vsc2rst.c
man/vsc2rst.c
+65
-0
No files found.
.gitignore
View file @
5ba20ed3
...
@@ -54,8 +54,10 @@ TAGS
...
@@ -54,8 +54,10 @@ TAGS
/lib/libvmod_std/vcc_if.h
/lib/libvmod_std/vcc_if.h
# Man-files and binaries
# Man-files and binaries
/man/vsc2rst
/man/vcl.7
/man/vcl.7
/man/varnish-cli.7
/man/varnish-cli.7
/man/varnish-counters.7
/bin/varnishadm/varnishadm
/bin/varnishadm/varnishadm
/bin/varnishadm/varnishadm.1
/bin/varnishadm/varnishadm.1
/bin/varnishd/varnishd
/bin/varnishd/varnishd
...
...
man/Makefile.am
View file @
5ba20ed3
#
#
dist_man_MANS
=
vcl.7 varnish-cli.7
noinst_PROGRAMS
=
vsc2rst
vsc2rst_SOURCES
=
vsc2rst.c
\
$(top_srcdir)
/include/vsc_fields.h
INCLUDES
=
-I
$(top_srcdir)
/include
dist_man_MANS
=
vcl.7 varnish-cli.7 varnish-counters.7
MAINTAINERCLEANFILES
=
$(dist_man_MANS)
MAINTAINERCLEANFILES
=
$(dist_man_MANS)
vcl.7
:
$(top_srcdir)/doc/sphinx/reference/vcl.rst
\
vcl.7
:
$(top_srcdir)/doc/sphinx/reference/vcl.rst
\
...
@@ -23,3 +29,13 @@ else
...
@@ -23,3 +29,13 @@ else
@echo
"========================================"
@echo
"========================================"
@false
@false
endif
endif
varnish-counters.7
:
vsc2rst
if
HAVE_RST2MAN
./vsc2rst
|
${RST2MAN}
-
$@
else
@echo
"========================================"
@echo
"You need rst2man installed to make dist"
@echo
"========================================"
@false
endif
man/vsc2rst.c
0 → 100644
View file @
5ba20ed3
#include <stdio.h>
#define P(x, ...) printf(x "\n", ##__VA_ARGS__)
#define VSC_F(n, t, l, f, e, d) printf("%s – %s\n\t%s\n\n", #n, e, d);
int
main
(
int
argc
,
char
**
argv
)
{
P
(
"================"
);
P
(
"varnish-counters"
);
P
(
"================"
);
P
(
""
);
P
(
"---------------------------------"
);
P
(
"Varnish counter field definitions"
);
P
(
"---------------------------------"
);
P
(
":Author: Tollef Fog Heen"
);
P
(
":Date: 2011-09-20"
);
P
(
":Version: 1.0"
);
P
(
":Manual section: 7"
);
P
(
""
);
P
(
"MAIN COUNTERS"
);
P
(
"============="
);
P
(
""
);
#define VSC_DO_MAIN
#include "vsc_fields.h"
#undef VSC_DO_MAIN
P
(
""
);
P
(
"LOCK COUNTERS"
);
P
(
"============="
);
P
(
""
);
#define VSC_DO_LCK
#include "vsc_fields.h"
#undef VSC_DO_LCK
P
(
""
);
P
(
"PER MALLOC STORAGE COUNTERS"
);
P
(
"==========================="
);
P
(
""
);
#define VSC_DO_SMA
#include "vsc_fields.h"
#undef VSC_DO_SMA
P
(
""
);
P
(
"PER FILE STORAGE COUNTERS"
);
P
(
"========================="
);
P
(
""
);
#define VSC_DO_SMF
#include "vsc_fields.h"
#undef VSC_DO_SMF
P
(
""
);
P
(
"PER BACKEND COUNTERS"
);
P
(
"===================="
);
P
(
""
);
#define VSC_DO_VBE
#include "vsc_fields.h"
#undef VSC_DO_VBE
return
0
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment