PMC(8) System Manager's Manual PMC(8)NAME
pmc - PTP management client
SYNOPSIS
pmc [ -2 | -4 | -6 | -u ] [ -b boundary-hops ] [ -d domain-number ] [ -i interface ] [ -t transport-specific-field ] [ -v ] [ -z ] [ com-
mand ] ...
DESCRIPTION
pmc is a program which implements a PTP management client according to IEEE standard 1588. The program reads from the standard input or
from the command line 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) ini-
tiates 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 /var/run/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.
-v Prints the software version and exits.
-z The official interpretation of the 1588 standard mandates sending GET actions with valid (but meaningless) TLV values. Therefore the
pmc program normally sends GET requests with properly formed TLV values. This option enables the legacy option of sending zero
length TLV values instead.
MANAGEMENT IDS
CURRENT_DATA_SET
TIME_STATUS_NP
NULL_MANAGEMENT
SEE ALSO ptp4l(8)linuxptp July 2013 PMC(8)
Check Out this Related Man Page
PMC.UCF(3) BSD Library Functions Manual PMC.UCF(3)NAME
pmc.ucf -- measurement events for Intel uncore fixed function performance counters.
LIBRARY
Performance Counters Library (libpmc, -lpmc)
SYNOPSIS
#include <pmc.h>
DESCRIPTION
Each fixed-function PMC measures a specific hardware event. The number of fixed-function PMCs implemented in a CPU can vary. The number of
fixed-function PMCs present can be determined at runtime by using function pmc_cpuinfo(3).
Intel uncore fixed-function PMCs are documented in "Volume 3B: System Programming Guide, Part 2", Intel(R) 64 and IA-32 Architectures
Software Developes Manual, Order Number: 253669-033US, Intel Corporation, December 2009.
PMC Capabilities
Fixed-function PMCs support the following capabilities:
Capability Support
PMC_CAP_CASCADE No
PMC_CAP_EDGE No
PMC_CAP_INTERRUPT No
PMC_CAP_INVERT No
PMC_CAP_READ Yes
PMC_CAP_PRECISE No
PMC_CAP_SYSTEM No
PMC_CAP_TAGGING No
PMC_CAP_THRESHOLD No
PMC_CAP_USER No
PMC_CAP_WRITE Yes
Class Name Prefix
These PMCs are named using a class name prefix of ``ucf-''.
Event Specifiers (Fixed Function PMCs)
The fixed function PMCs are selectable using the following event names:
UCLOCK (Fixed Function Counter 0) The fixed-function uncore counter increments at the rate of the U-clock. The frequency of the uncore
clock domain can be determined from the uncore clock ratio which is available in the PCI configuration space register at offset C0H
under device number 0 and Function 0.
SEE ALSO pmc(3), pmc.atom(3), pmc.core(3), pmc.core2(3), pmc.corei7(3), pmc.corei7uc(3), pmc.iaf(3), pmc.k7(3), pmc.k8(3), pmc.p4(3), pmc.p5(3),
pmc.p6(3), pmc.soft(3), pmc.tsc(3), pmc.westmere(3), pmc.westmereuc(3), pmc_cpuinfo(3), pmclog(3), hwpmc(4)HISTORY
The pmc library first appeared in FreeBSD 6.0.
AUTHORS
The Performance Counters Library (libpmc, -lpmc) library was written by Joseph Koshy <jkoshy@FreeBSD.org>.
BSD March 30, 2010 BSD