~ps10gel/ubuntu/xenial/trafficserver/6.2.0

« back to all changes in this revision

Viewing changes to doc/man/config_clock.1

  • Committer: Bazaar Package Importer
  • Author(s): Arno Toell
  • Date: 2011-01-13 11:49:18 UTC
  • Revision ID: james.westby@ubuntu.com-20110113114918-vu422h8dknrgkj15
Tags: upstream-2.1.5-unstable
ImportĀ upstreamĀ versionĀ 2.1.5-unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.\"  Licensed to the Apache Software Foundation (ASF) under one .\"
 
2
.\"  or more contributor license agreements.  See the NOTICE file .\"
 
3
.\"  distributed with this work for additional information .\"
 
4
.\"  regarding copyright ownership.  The ASF licenses this file .\"
 
5
.\"  to you under the Apache License, Version 2.0 (the .\"
 
6
.\"  "License"); you may not use this file except in compliance .\"
 
7
.\"  with the License.  You may obtain a copy of the License at .\"
 
8
.\" .\"
 
9
.\"      http://www.apache.org/licenses/LICENSE-2.0 .\"
 
10
.\" .\"
 
11
.\"  Unless required by applicable law or agreed to in writing, software .\"
 
12
.\"  distributed under the License is distributed on an "AS IS" BASIS, .\"
 
13
.\"  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. .\"
 
14
.\"  See the License for the specific language governing permissions and .\"
 
15
.\"  limitations under the License. .\"
 
16
.TH "config:clock"
 
17
.SH NAME
 
18
config:clock \- Configure system clock settings.
 
19
.SH SYNOPSIS
 
20
config:clock [options]
 
21
.SH DESCRIPTION
 
22
You use the config:clock command specify system date, time, and timezone settings.
 
23
A full restart of proxy software occurs when these changes take place.  This command
 
24
requires root privileges, see config:root command.
 
25
.SH OPTIONS
 
26
The following options are supported for the config:clock command:
 
27
.SS "date <mm/dd/yyyy>"
 
28
Specifies the month, day, and year.
 
29
.SS "time <hh:mm:ss>"
 
30
Specifies the hour, minute, and seconds values in the local time zone.  The hour value
 
31
is in 24-hour format.
 
32
.SS "timezone <number from list | list>"
 
33
List the available timezones, or specify the timezone from the numbered list.
 
34
.SH EXAMPLES
 
35
.SS "Example 1. Specifying system date"
 
36
.PP
 
37
.nf
 
38
traffic_shell> config:clock date 
 
39
DATE: 10/14/2001
 
40
traffic_shell> config:clock date 10/15/2001
 
41
(Stopping Proxy Software)
 
42
Changing Date
 
43
(Starting Proxy Software)
 
44
DATE: 10/15/2001
 
45
traffic_shell>
 
46
.SS "Example 2. Listing available timezones"
 
47
.PP
 
48
.nf
 
49
traffic_shell> config:clock timezone list
 
50
0   Africa/Abidjan
 
51
1   Africa/Accra
 
52
2   Africa/Addis_Ababa
 
53
...
 
54
362   Pacific/Wake
 
55
363   Pacific/Wallis
 
56
364   Pacific/Yap
 
57
traffic_shell>
 
58
.SS "Example 3. Specifying the local timezone"
 
59
.PP
 
60
.nf
 
61
traffic_shell> config:clock timezone 109
 
62
traffic_shell>
 
63
.SH "SEE ALSO"
 
64
config:root