summaryrefslogtreecommitdiff
path: root/server/dhcpd.leases.5
diff options
context:
space:
mode:
authorDavid Hankins <dhankins@isc.org>2009-01-22 21:22:42 +0000
committerDavid Hankins <dhankins@isc.org>2009-01-22 21:22:42 +0000
commit64e1823d54ef45529084f1221eab2a6341ce4945 (patch)
tree91eb12a7928688069176a302c1fe1b6c6e4e1c8c /server/dhcpd.leases.5
parentcd51403ddc450565701f4676e25620a865692525 (diff)
downloadisc-dhcp-64e1823d54ef45529084f1221eab2a6341ce4945.tar.gz
- The db-time-format option was documented in manpages. [no ticket]
Diffstat (limited to 'server/dhcpd.leases.5')
-rw-r--r--server/dhcpd.leases.519
1 files changed, 17 insertions, 2 deletions
diff --git a/server/dhcpd.leases.5 b/server/dhcpd.leases.5
index 99551cd7..37c992c2 100644
--- a/server/dhcpd.leases.5
+++ b/server/dhcpd.leases.5
@@ -28,7 +28,7 @@
.\" see ``http://www.vix.com''. To learn more about Nominum, Inc., see
.\" ``http://www.nominum.com''.
.\"
-.\" $Id: dhcpd.leases.5,v 1.12 2008/11/20 15:18:28 jreed Exp $
+.\" $Id: dhcpd.leases.5,v 1.13 2009/01/22 21:22:42 dhankins Exp $
.\"
.TH dhcpd.leases 5
.SH NAME
@@ -107,7 +107,10 @@ the lease expiry time that the peer has acknowledged.
The \fBatsfp\fR statement is the actual time sent from the failover
partner.
The \fBcltt\fR statement is the client's last transaction time.
-The \fIdate\fR is specified as follows:
+.PP
+The \fIdate\fR is specified in two ways, depending on the configuration
+value for the \fBdb-time-format\fR parameter. If it was set to \fIdefault\fR,
+then the \fIdate\fR fields appear as follows:
.PP
.I weekday year\fB/\fImonth\fB/\fIday hour\fB:\fIminute\fB:\fIsecond\fR
.PP
@@ -127,6 +130,18 @@ times recorded on a lease are always the same as wall clock times. On
most unix machines, you can display the current time in UTC by typing
\fBdate -u\fR.
.PP
+If the \fBdb-time-format\fR was configured to \fIlocal\fR, then
+the \fIdate\fR fields appear as follows:
+.PP
+ \fBepoch\fR \fI<seconds-since-epoch>\fR\fB; #\fR \fI<day-name> <month-name>
+<day-number> <hours>\fR\fB:\fR\fI<minutes>\fR\fB:\fR\fI<seconds> <year>\fR
+.PP
+The \fIseconds-since-epoch\fR is as according to the system's local clock (often
+referred to as "unix time"). The \fB#\fR symbol supplies a comment that
+describes what actual time this is as according to the system's configured
+timezone, at the time the value was written. It is provided only for human
+inspection.
+.PP
If a lease will never expire, \fIdate\fR is \fBnever\fR instead of an
actual date.
.PP