HTPDATE
Section: Maintenance Commands (8)
Updated: 06 Nov 2004
Index
Return to Main Contents
NAME
htpdate - HTTP Time Protocol client
SYNOPSIS
htpdate
[ -anh ]
[-P proxy]
[-U user]
[-p pass]
host
[host]
[...]
DESCRIPTION
htpdate
sets the system clock using the using "HTP" (the HTTP Time Protocol)
from remote web servers.
OPTIONS
-n
-
Do not set the time, only ask the specified servers for it and print the calculated new time to standard output. Network latency and program run-time is taken into account when the value is printed. The default action is it set (or "slew" it if the
-a
option was specified) the time and print out the result.
-a
-
The
-a
option tells
htpdate
to attempt to slew the time to the correct value rather than setting it. The default is to set it.
-h
-
The
-h
option prints out basic usage information.
-P
proxy
-
Specify an HTTP proxy to send requests through. The
proxy
parameter can be in the format of hostname:port. If the port is omited 8080 is assumed.
-U
user
-
The
-U
option allows you to specify a username for an authenticating HTTP proxy. This option must be accompanied by the
-P
and
-p
options.
-p
pass
-
The
-U
option allows you to specify a password for an authenticating HTTP proxy. This option must be accompanied by the
-P
and
-U
options.
host
-
Query the webserver specified by
host
to update the time. Many hosts may be specified, but atleast one is required. The
host
parameter can be in the format of hostname:port. The port portion is optional, if omitted port 80 is assumed.
SEE ALSO
htpd.conf(5),
htpd(8)
AUTHOR
Eddy Vervest
<Eddy@cleVervest.com>
Roy Keene
<htp@rkeene.org>
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- OPTIONS
-
- SEE ALSO
-
- AUTHOR
-
This document was created by
man2html,
using the manual pages.
Time: 04:11:50 GMT, December 22, 2014