HP-UX Reference (11i v2 07/12) - 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 parity bit is
now the high order bit of the octet. Leading zeroes must be specified and odd parity must be main-
tained. 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.
The filegen Utility
Synopsis
filegen name [file filename][
type typename][link|nolink][enable|disable]
Description
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 typi-
cal 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 disturbing the
operation of
xntpd. (Most important: they can be removed to free space for new data produced.) File
names of set members are built from three elements. name is name of the statistic to be collected.
Currently only two kinds of statistics are supported: loopstats and peerstats .
Operands
file filename
Defines a filename string directly concatenated to the prefix mentioned above (no intervening /
(slash)) if prefix is defined in the
statsdir statement.
type typename
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 file name 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, in for form: prefixfilename.pid.
day One file generation set element is created per day. The term day is based on Coordi-
nated Universal Time (UTC). A day is defined as the period between 00:00 and 24:00
UTC. The file set member sufx consists of a dot and a day specification in the form
YYYYMMDD. YYYY is a 4 digit year number (for example, 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 prefixfilename.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 generation set
are distinguished by appending the following suffix to the file set file name base: A
dot, a four digit year number, the letter W and a two digit week number. For exam-
ple, 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 file name suffix consists of a
dot and a 4 digit year number.
HP-UX 11i Version 2: December 2007 Update 4 Hewlett-Packard Company 683