TS2ALT(8)
β¨ TS2ALT(8) β¨
okay bestie, welcome to the system manager's manual for tz2alt and honestly? she's giving timekeeper energy π
πΈ NAME πΈ
tz2alt β Monitors daylight savings time changes and publishes them to PTP stack.
no cap, that's literally her whole job π«Ά
π SYNOPSIS π
ts2alt [ -hmqv ] [ -f conf ] [ -k key ] [ -p period ] [ -w window ] [ -z
timezone ] [ long-options ] ...
yes she takes all of that, she's versatile like that β¨
π¦ DESCRIPTION π¦
tz2alt leverages the local time zone database to monitor for changes in daylight savings time and publishes the pending changes to the PTP stack.
that's it. that's the vibe. she watches the clock so you don't have to π
π OPTIONS π
-fconfig β Read configuration from the specified file. No configuration file is read by default. (so if you don't say anything, she reads nothing, she's low maintenance like that π)-hβ Displays the command line help summary. your girl when you need her πββοΈ-lprint-level β Sets the maximum syslog level of messages which should be printed or sent to the system logger. The default is6(LOG_INFO).-mβ Prints log messages to the standard output.-qβ Prevents sending log messages to the system logger. (shy queen behavior, she keeps it to herself)-vβ Prints the software version and exits. iconic little drive-by π
β LONG OPTIONS β
Each and every configuration file option (see below) may also appear as a "long" style command line argument. For example, the use_syslog option may be set using either of these two forms.
--use_syslog 1 --use_syslog=1
Option values given on the command line override values in the global section of the configuration file.
bestie remember: command line wins. every time. no debate π«Ά
π CONFIGURATION FILE π
The configuration file is divided into sections. Each section starts with a line containing its name enclosed in brackets and it follows with settings. Each setting is placed on a separate line, it contains the name of the option and the value separated by whitespace characters. Empty lines and lines starting with # are ignored.
so like: brackets for the section, whitespace between option and value, and # for your little comments. she respects the aesthetic β¨
π GLOBAL OPTIONS π
active_key_idβ Used in conjunction withsppandsa_filedirectives to specify which key from thesppdefined Security Association should be used for outbound icv calculations. All Security Assocations are read from the file specified bysa_file. Requiressppandsa_filedirectives. Must be in the range of1to2^32-1, inclusive. The default is0(disabled).domainNumberβ The domain attribute of the local clock. The default is0.leapfileβ The path to the current leap seconds definition file. In a Debian system this file is provided by thetzdatapackage and can be found at/usr/share/zoneinfo/leap-seconds.list. If aleapfileis configured it will be reloaded if modified. The default is an empty string, which causes the program to use a hard coded table that reflects the known leap seconds on the date of the software's release.logging_levelβ The maximum logging level of messages which should be printed. The default is6(LOG_INFO).message_tagβ The tag which is added to all messages printed to the standard output or system log. If the tag contains the string"{level}", it will be replaced with the log level of the message as a number. The default is an empty string (which cannot be set in the configuration file as the option requires an argument).sa_fileβ Specifies the location of the file containing Security Associations used for immediate security processing of the Authentication TLV in support of the optional security mechanism defined inieee1588-2019ch14.16. See SECURITY ASSOCIATION OPTIONS for more info on file contents. The default is an empty string. (disabled).sppβ Specifies the security parameters pointer for the desired security association to be used for authentication tlv support. If specified, the port owning thesppwill attempt to attach (outbound) and check (inbound) authentication tlvs for all messages in accordance to the corresponding security association sourced via thesa_filedirective. Not compatible with one step ports. Must be in the range of-1to255, inclusive. The default is-1(disabled).transportSpecificβ The transport specific field. Must be in the range0to255. The default is0.use_syslogβ Print messages to the system log if enabled. The default is1(enabled).verboseβ Print messages to the standard output if enabled. The default is0(disabled).
π WARNING π
Be cautious when sharing the same configuration file between ptp4l, phc2sys, and tz2alt. Keep in mind that values specified in the configuration file take precedence over the default values. If an option which is common to the other programs is set in the configuration file, then the value will be applied to all the programs using the file, and this might not be what is expected.
It is recommended to use separate configuration files for ptp4l, phc2sys, and tz2alt in order to avoid any unexpected behavior.
fr fr, do NOT make them share a config file unless you're ready for chaos π one file per program, bestie. protect your peace π
π§ SEE ALSO π§
and that's the whole page, you ate that π this one came from linuxptp, dated March 2024 β stay slay, stay synced πβ¨π¦
π¦ where this page comes from
- arch rolling: linuxptp 4.4-2 Β· GPL-2.0-or-later
- centos-stream 10: linuxptp 4.4-9.el10 Β· GPL-2.0-or-later
- centos-stream 9: linuxptp 4.4-6.el9 Β· GPL-2.0-or-later
- fedora 43: linuxptp 4.4-7.fc43 Β· GPL-2.0-or-later
- fedora 44: linuxptp 4.4-10.fc44 Β· GPL-2.0-or-later
- nixpkgs unstable: linuxptp 4.4
- opensuse-leap 16.0: linuxptp 4.4-160000.3.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: linuxptp 4.4-160000.3.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: linuxptp 4.4-160000.3.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: linuxptp 4.4-160000.3.1 Β· GPL-2.0-or-later
- ubuntu resolute: linuxptp 4.4-0ubuntu1 Β· GPL-2.0-or-later
- ubuntu stonking: linuxptp 4.4-0ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms