mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-17 16:26:59 +00:00
Version 2.10
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
573418a9e4
commit
e4282e8a3d
40 changed files with 4398 additions and 22737 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# Makefile.in generated by automake 1.10.1 from Makefile.am.
|
||||
# Makefile.in generated by automake 1.10.2 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
||||
|
|
@ -33,7 +33,7 @@ POST_UNINSTALL = :
|
|||
subdir = man
|
||||
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/configure.in
|
||||
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
|
|
@ -48,7 +48,6 @@ NROFF = nroff
|
|||
MANS = $(man_MANS)
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
ACLOCAL = @ACLOCAL@
|
||||
ALLOCA = @ALLOCA@
|
||||
AMTAR = @AMTAR@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
|
|
@ -107,8 +106,6 @@ build_alias = @build_alias@
|
|||
builddir = @builddir@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
dhcpd_conf = @dhcpd_conf@
|
||||
dhcpd_leases = @dhcpd_leases@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
|
|
@ -124,8 +121,6 @@ localstatedir = @localstatedir@
|
|||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
output_format = @output_format@
|
||||
output_limit = @output_limit@
|
||||
pdfdir = @pdfdir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
|
|
@ -135,6 +130,7 @@ sharedstatedir = @sharedstatedir@
|
|||
srcdir = @srcdir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
man_MANS = dhcpd-pools.1
|
||||
|
|
@ -149,14 +145,14 @@ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
|||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
|
||||
&& exit 0; \
|
||||
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
||||
&& { if test -f $@; then exit 0; else break; fi; }; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign man/Makefile'; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu man/Makefile'; \
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign man/Makefile
|
||||
$(AUTOMAKE) --gnu man/Makefile
|
||||
.PRECIOUS: Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
|
|
@ -185,8 +181,8 @@ install-man1: $(man1_MANS) $(man_MANS)
|
|||
esac; \
|
||||
done; \
|
||||
for i in $$list; do \
|
||||
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
|
||||
else file=$$i; fi; \
|
||||
if test -f $$i; then file=$$i; \
|
||||
else file=$(srcdir)/$$i; fi; \
|
||||
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
||||
case "$$ext" in \
|
||||
1*) ;; \
|
||||
|
|
|
|||
|
|
@ -2,15 +2,18 @@
|
|||
.\" http://www.iki.fi/kerolasa/
|
||||
.\" kerolasa@iki.fi
|
||||
.\"
|
||||
.TH DHCPD-POOLS 1 "May 18 2008 - version 2.9"
|
||||
.\" Add'l ontributions by:
|
||||
.\" Dan Thorson
|
||||
.\"
|
||||
.TH DHCPD-POOLS 1 "Feb 11 2009 - version 2.10"
|
||||
.SH NAME
|
||||
dhcpd-pools \- ISC dhcp pools usage analysis
|
||||
.SH SYNOPSIS
|
||||
.B dhcpd-pools
|
||||
[-c file] [-l file] [-f thc] [-s nimcptTe] [-r] [-o file] [-L nr] [-v] [-h]
|
||||
[-c file] [-l file] [-f thHc] [-s nimcptTe] [-r] [-o file] [-L nr] [-v] [-h]
|
||||
.SH DESCRIPTION
|
||||
The program counts ISC dhcp shared network and pool usage
|
||||
analysis and outputs it in selected format.
|
||||
The program analyses ISC dhcp shared network and pool usage and outputs the
|
||||
results in a user selectable format.
|
||||
.SH FIELDS
|
||||
.TP
|
||||
.I "shared net name"
|
||||
|
|
@ -23,7 +26,7 @@ First IP in lease pool range.
|
|||
Last IP in lease pool range.
|
||||
.TP
|
||||
.I "max"
|
||||
Number of IPs which exist on pool, shared network or all together.
|
||||
Number of IPs which exist in a pool, shared network or all together.
|
||||
.TP
|
||||
.I "cur"
|
||||
Number of leases currently in use.
|
||||
|
|
@ -32,18 +35,24 @@ Number of leases currently in use.
|
|||
Percent of IPs currently in use compared to max.
|
||||
.TP
|
||||
.I "touch"
|
||||
Number of leases which are not actively. This number should indicate how
|
||||
much there are clients which are turned off.
|
||||
Number of IP's which appear in the lease file, but who's leases have
|
||||
expired. A touched IP is either expired or abandoned. The touched IP count
|
||||
is somewhat misleading when you try to determine if an IP pool is big
|
||||
enough; it is a better indicator of whether a pool is too large.
|
||||
.TP
|
||||
.I "t+c"
|
||||
Touched leases and currently in use together.
|
||||
The sum of Touched and Currently in-use leases.
|
||||
.TP
|
||||
.I "t+c perc"
|
||||
Percent of touched and currently in use together compared to max.
|
||||
Percent of IPs either touched or currently in use, compared to max.
|
||||
.TP
|
||||
.I "bu"
|
||||
Failover pair can allocate these addresses. The count appears only if there is failover configuration.
|
||||
Failover pair can allocate these addresses. The count appears only if there
|
||||
is failover configuration.
|
||||
.TP
|
||||
.I "bu perc"
|
||||
Percent of addresses that failover pair can allocate. The percent appears only if there is failover configuration.
|
||||
Percent of addresses that failover pair can allocate. The percent appears
|
||||
only if there is failover configuration.
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I "\-c, \-\-config"
|
||||
|
|
@ -53,26 +62,51 @@ Path to the dhcpd.conf file.
|
|||
Path to the dhcpd.leases file.
|
||||
.TP
|
||||
.I "\-s, \-\-sort"
|
||||
Sort ranges by chosen fields as a sorting keys. Maximum of five
|
||||
sort keys can be defined. Keys weight from left to right IE if
|
||||
more weighting keys are equal next one is used. The IP field is
|
||||
default sort key.
|
||||
Sort ranges by chosen fields as a sorting keys. Maximum of five sort keys
|
||||
can be defined. Keys weight from left to right IE if more weighting keys
|
||||
are equal next one is used. The IP field is default sort key.
|
||||
.TP
|
||||
.I "\-r, \-\-reverse"
|
||||
Sort results in reverse order.
|
||||
.TP
|
||||
.I "\-f, \-\-format"
|
||||
Output format. Currently there is text, html and csv
|
||||
(comma-separated values). Default is text.
|
||||
Output format. Currently there is text, html, full-html and csv
|
||||
(comma-separated values). Default is text. Standard html (h) outputs only
|
||||
the HTML tables, and is useful for embeding more complex web pages.
|
||||
Full-html (H) provides complete HTML headers, etc., including in-line CSS.
|
||||
.TP
|
||||
.I "\-o, \-\-output"
|
||||
File where output is written. Default is stdout.
|
||||
.TP
|
||||
.I "\-L, \-\-limit"
|
||||
Limit what will be printed. Syntax is similar to chmod permission
|
||||
string. The limit string uses two digits which vary between 0 to
|
||||
7. First digit will cause on headers and second numeric analysis
|
||||
tables to included or dropped from output.
|
||||
Limit what will be printed. Syntax is similar to chmod permission string.
|
||||
The limit string uses two digits which vary between 0 to 7. The first digit
|
||||
determines which headers to display, and the second digit determines which
|
||||
numeric analysis tables to include in the output. The following values are
|
||||
"OR'd" together to create the desired output. The default is 77.
|
||||
|
||||
.RS
|
||||
.PD 0
|
||||
.TP
|
||||
.B 01
|
||||
Print x
|
||||
.TP
|
||||
.B 02
|
||||
Print y
|
||||
.TP
|
||||
.B 04
|
||||
Print z
|
||||
.TP
|
||||
.B 10
|
||||
Print headers for x
|
||||
.TP
|
||||
.B 20
|
||||
Print headers for y
|
||||
.TP
|
||||
.B 40
|
||||
Print headers for z
|
||||
.PD
|
||||
.RE
|
||||
.TP
|
||||
.I "\-v, \-\-version"
|
||||
Print version information to standard output and exit successfully.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue