Hi Raj,

statseg { … }

There is a C API in vpp-api/client/stat_client.h you can use.
Or a higher level Go, Python or C++ binding too.

Cheers,
Ole

> On 6 Mar 2019, at 14:27, Raj <rajlistu...@gmail.com> wrote:
> 
> Hi all,
> 
> I am trying to get the stats from VPP SHM. If I understand correctly,
> I need to open  VPP stats Unix domain socket and read from the
> corresponding memory mapped segment.
> 
> My problem is that the stats socket file is missing. I added the
> following line in startup.conf but of no avail.
> 
> stats { socket-name /run/vpp/stats.sock }
> 
> Should I have to do any thing else to get the sock file and possibly
> enable SHM logging?
> 
> Thanks and Regards,
> 
> Raj
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> 
> View/Reply Online (#12443): https://lists.fd.io/g/vpp-dev/message/12443
> Mute This Topic: https://lists.fd.io/mt/30284996/675193
> Group Owner: vpp-dev+ow...@lists.fd.io
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [otr...@employees.org]
> -=-=-=-=-=-=-=-=-=-=-=-

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#12445): https://lists.fd.io/g/vpp-dev/message/12445
Mute This Topic: https://lists.fd.io/mt/30284996/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to