HP-UX Reference (11i v2 03/08) - 1M System Administration Commands N-Z (vol 4)

x
xntpd(1M) xntpd(1M)
N The key is a 64 bit hexadecimal number in the format specified in the NTP standard. This is the
same as the DES format except the bits in each octet have been rotated one bit right so that the par-
ity bit is now the high order bit of the octet. Leading zeroes must be specified and odd parity must
be maintained. A zero key in NTP format would be specified as 8080808080808080
A The key is a 1-to-8 character ASCII string. A key is formed from this by using the lower order 7 bits
of the ASCII representation of each character in the string, with zeroes being added on the right
when necessary to form a full width 56 bit key, in the same way that encryption keys are formed
from Unix passwords.
M The key is a 1-to-32 character ASCII string, using the MD5 authentication scheme. Note that both
the keys and the authentication schemes (DES or MD5) must be identical between a set of peers
sharing the same key number.
FILEGEN UTILITY
filegen name [ file filename ][
type typename ][link|nolink ][enable|disable ]
This command helps in configuring the generation-file set
name. The generation-file sets provides a
mean for handling files that are continuously growing during the lifetime of a server. Server statistics are
a typical example for such files. The generation-file sets provide access to a set of files used to store the
actual data. At any time at most one element of the set is being written to. The
type given specifies when
and how data will be directed to a new element of the set. This way, information stored in elements of a
file set that are currently unused are available for administrational operations without the risk of dis-
turbing the operation of
xntpd. (Most important: they can be removed to free space for new data pro-
duced.) Filenames of set members are built from three elements. name is name of the statistic to be col-
lected. Currently only two kinds of statistics are supported: loopstats and peerstats .
file Defines a filename string directly concatenated to the prefix mentioned above (no intervening /
(slash)) if prefix is defined in the statsdir statement.
type This part reflects individual elements of a file set. It is generated according to the type of a file
set as explained below. A file generation set is characterized by its type. The following
typenames are supported:
none The file set is actually a single plain file.
pid One element of file set is used per incarnation of a
xntpd server. This type does not
perform any changes to file set members during runtime, however it provides an
easy way of separating files belonging to different xntpd server incarnations. The
set member filename is built by appending a dot . to the concatenated prefix and
filename strings, and appending the decimal representation of the process id of the
xntpd server process. (e.g <prefix><filename>.<pid> )
day One file generation set element is created per day. The term day is based on UTC.
A day is defined as the period between 00:00 and 24:00 UTC. The file set member
suffix consists of a dot and a day specification in the form <YYYYMMDD>. YYYY is
a 4 digit year number (e.g. 1992). MM is a two digit month number. DD is a two
digit day number. Thus, all information written at December 10th, 1992 would end
up in a file named <prefix><filename>.19921210
week Any file set member contains data related to a certain week of a year. The term
week is defined by computing day of year modulo 7. Elements of such a file genera-
tion set are distinguished by appending the following suffix to the file set filename
base: A dot, a four digit year number, the letter W and a two digit week number.
For example, information from January, 10th 1992 would end up in a file with suffix
.1992W1.
month One generation file set element is generated per month. The file name suffix consists
of a dot, a four digit year number, and a two digit month.
year One generation file elment is generated per year. The filename suffix consists of a
dot and a 4 digit year number.
age This type of file generation sets changes to a new element of the file set every 24
hours of server operation. The filename suffix consists of a dot, the letter a, and an
eight digit number. This number is taken to be the number of seconds the server is
running at the start of the corresponding 24 hour period.
HP-UX 11i Version 2: August 2003 4 Hewlett-Packard Company Section 1M921