pmc(8) - Linux man page

Name

pmc - PTP management client

Synopsis

pmc [ -2 | -4 | -6 | -u ] [ -b boundary-hops ] [ -d domain-number ] [ -i interface ] [ -t transport-specific-field ]

Description

pmc is a program which implements a PTP management client according to IEEE standard 1588. The program reads from the standard input actions specified by name and management ID, sends them over the selected transport and prints any received replies. There are three actions supported: GET retrieves the specified information, SET updates the specified information and CMD (or COMMAND) initiates the specified event.

Command help can be used to get a list of supported actions and management IDs.

Options

-2
Select the IEEE 802.3 network transport.
-4
Select the UDP IPv4 network transport. This is the default transport.
-6
Select the UDP IPv6 network transport.
-u
Select the Unix Domain Socket transport.
-b boundary-hops
Specify the boundary hops value in sent messages. The default is 1.
-d domain-number
Specify the domain number in sent messages. The default is 0.
-i interface
Specify the network interface. The default is /tmp/pmc for the Unix Domain Socket transport and eth0 for the other transports.
-t transport-specific-field
Specify the transport specific field in sent messages as a hexadecimal number. The default is 0x0.
-h
Display a help message.

Management IDs

CURRENT_DATA_SET
TIME_STATUS_NP
NULL_MANAGEMENT

See Also

ptp4l(8)