> -----Original Message-----
> From: Richard Cochran <richardcoch...@gmail.com>
> Sent: Saturday, December 7, 2019 12:52 PM
> To: jawad ahmed saleemi <jawad.sale...@hotmail.com>
> Cc: linuxptp-users@lists.sourceforge.net
> Subject: [SUSPICIOUS] [Marketing] Re: [Linuxptp-users] PTP statistics
> 
> On Sat, Dec 07, 2019 at 04:11:30PM +0000, jawad ahmed saleemi wrote:
> 
> > Is it possible to get statistics out of ptp4l like number of sync,
> > follow up, delay_req/resp messages received once the system is in syn
> > (slave) mode?
> 
> Yes, you can query PORT_STATS_NP using the pmc program.
> 

Hey Richard,

When I run pmc help I don't see that one:

root@imx8mmevk:~# pmc help

        [action] USER_DESCRIPTION
        [action] DEFAULT_DATA_SET
        [action] CURRENT_DATA_SET
        [action] PARENT_DATA_SET
        [action] TIME_PROPERTIES_DATA_SET
        [action] PRIORITY1
        [action] PRIORITY2
        [action] DOMAIN
        [action] SLAVE_ONLY
        [action] CLOCK_ACCURACY
        [action] TRACEABILITY_PROPERTIES
        [action] TIMESCALE_PROPERTIES
        [action] TIME_STATUS_NP
        [action] GRANDMASTER_SETTINGS_NP
        [action] NULL_MANAGEMENT
        [action] CLOCK_DESCRIPTION
        [action] PORT_DATA_SET
        [action] LOG_ANNOUNCE_INTERVAL
        [action] ANNOUNCE_RECEIPT_TIMEOUT
        [action] LOG_SYNC_INTERVAL
        [action] VERSION_NUMBER
        [action] DELAY_MECHANISM
        [action] LOG_MIN_PDELAY_REQ_INTERVAL
        [action] PORT_DATA_SET_NP

        The [action] can be GET, SET, CMD, or COMMAND
        Commands are case insensitive and may be abbreviated.

        TARGET [portIdentity]
        TARGET *

root@imx8mmevk:~# pmc -u -b 0 -f /etc/linuxptp/ptp4l.conf "get PORT_STATS_NP"
bad command: get PORT_STATS_NP

Regards,

Brian

  

CONFIDENTIALITY NOTICE: This email and any attachments are for the sole use of 
the intended recipient and may contain material that is proprietary, 
confidential, privileged or otherwise legally protected or restricted under 
applicable government laws. Any review, disclosure, distributing or other use 
without expressed permission of the sender is strictly prohibited. If you are 
not the intended recipient, please contact the sender and delete all copies 
without reading, printing, or saving.




_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to