Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pmc(8) [centos man page]

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_NAME_OF_CAPABILITY(3)				   BSD Library Functions Manual 				 PMC_NAME_OF_CAPABILITY(3)

NAME
pmc_name_of_capability, pmc_name_of_class, pmc_name_of_cputype, pmc_name_of_disposition, pmc_name_of_event, pmc_name_of_mode, pmc_name_of_state -- human readable names for numeric constants used by pmc(3) and hwpmc(4) LIBRARY
Performance Counters Library (libpmc, -lpmc) SYNOPSIS
#include <pmc.h> const char * pmc_name_of_capability(enum pmc_caps pc); const char * pmc_name_of_class(enum pmc_class pc); const char * pmc_name_of_cputype(enum pmc_cputype ct); const char * pmc_name_of_disposition(enum pmc_disp pd); const char * pmc_name_of_event(enum pmc_event pe); const char * pmc_name_of_mode(enum pmc_mode pm); const char * pmc_name_of_state(enum pmc_state ps); DESCRIPTION
These convenience functions translate numeric constants used by the Performance Counters Library (libpmc, -lpmc) to const char * pointers to human readable representations of their arguments. Function pmc_name_of_capability() translates a PMC capability flag given in argument pc to a human readable string. PMC capabilities are described in pmc(3). Function pmc_name_of_class() translates the PMC class value specified in argument pc to a human readable name. PMC classes are described in pmc(3). Function pmc_name_of_cputype() translates the CPU type value specified in argument ct to a human readable name. CPU types known to the library are described in pmc(3). Function pmc_name_of_disposition() translates the PMC row disposition specified in argument pd to a human readable name. PMC row disposi- tions are described in hwpmc(4). Function pmc_name_of_event() translates the PMC event number specified by argument pe to a string. PMC event names are documented in section EVENT SPECIFIERS of pmc(3). Function pmc_name_of_mode() translates the PMC mode specified by argument pm to a human readable string. PMC modes are described in pmc(3). Function pmc_name_of_state() translates the value of argument ps to a human readable name. IMPLEMENTATION NOTES
The returned pointers point to static storage inside the PMC library and should not be freed by the caller. RETURN VALUES
These functions return a non-NULL pointer on successful completion. In case of an error, a NULL pointer is returned and the global variable errno is set to indicate the error. ERRORS
A call to these functions may fail with the following errors: [EINVAL] The function argument specified an invalid value. SEE ALSO
pmc(3), pmc_cpuinfo(3), pmc_pmcinfo(3), hwpmc(4) BSD
November 24, 2007 BSD
Man Page

Featured Tech Videos