Developer's Daily Unix by Example
  main | java | perl | unix | dev directory | web log
 
 
Main
Unix
Man Pages
   

TIMECONFIG

NAME
SYNOPSIS
DESCRIPTION
RETURN CODES
FILES
SEE ALSO
AUTHOR

NAME

timeconfig ? simple interface for configuring system time parameters

SYNOPSIS

timeconfig [--utc] [--arc] [--back] [--test] [timezone]

DESCRIPTION

timeconfig provides a simple method of configuring both /etc/sysconfig/clock and /etc/localtime which is compatible with both the standard Red Hat startup scripts and timeconfig(8).

If a timezone is specified, the system timezone is change to the timezone specified. Otherwise, a menu of available timezones is displayed. If --utc is given, the system clock is assumed to be in universal (Greenwhich mean) time. If --arc is used, the system clock is assumed ot be stored in the format used by the ARC platform on Digital Alpha platforms (the --arc option is only available on Alpha hardware).

The timeconfig window contains a Cancel button by default. If --back is specified at run time, a Back button is presented instead.

If --test is specified, timeconfig may be run as a non-root user, and no changes are written to the filesystem.

RETURN CODES

timeconfig returns 0 on success, 2 on error, and 1 if the user cancelled the program (by using either the Cancel or Back button).

FILES

/etc/sysconfig/clock

Configures the format used by the hardware clock.

/etc/localtime

File containing timezone data, copied from /usr/share/zoneinfo.

SEE ALSO

clock(8), setclock(8)

AUTHOR

Erik Troan <ewt@redhat.com>

copyright 1998-2007, devdaily.com, all rights reserved.
devdaily.com, an alvin j. alexander production.