Go to main content

マニュアルページ セクション 8: システム管理コマンド

印刷ビューの終了

更新: 2022年7月27日
 
 

tzreload(8)

名前

tzreload - notify processes of time zone update

形式

/usr/sbin/tzreload

説明

The tzreload command notifies active (running) processes to reread time zone information. The time zone information is cached in each process, and absent a tzreload command, is never reread until a process is restarted. In response to a tzreload command, active processes reread the current time zone information at the next call to ctime(3C) and mktime(3C). The tzreload notification is sent to processes within the current zone.

tzreload causes processes which are using the system time zone (in /etc/default/init) to reread the contents of that file.

In addition to notifying active processes, the tzreload command also notifies cron(8), to reinitialize the job scheduler with the new time zone information.

ファイル

/usr/share/lib/zoneinfo

Standard zone information directory.

属性

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/core-os
Interface Stability
Committed

関連項目

ctime(3C), mktime(3C), attributes(7), smf(7), cron(8), zdump(8), zic(8)

Although tzreload reinitializes cron(8), applications that are affected by time zone changes still need to be restarted or reinitialized if they do not reread the new time zone information before time zone changes take place.

The timezone update service is managed by the service management facility, smf(7), under the service identifier:

svc:/system/timezone:default

Administrative actions on this service, such as enabling, disabling, or requesting refresh, can be performed using svcadm(8). The service's status can be queried using the svcs(1) command.

Refreshing this service causes the tzreload command to be run, notifying running processes to reload their timezone caches. Disabling this service is not recommended.