MAD documentation?

31 views
Skip to first unread message

Сергей Жуматий

unread,
Jun 12, 2014, 1:19:23 AM6/12/14
to infin...@googlegroups.com
Hello!
I try to implement monitoring module to monitor extended stats of Infiniband ports. Just like perfquery -x. I need to get this often (once 1..10 seconds), so execute perfquery and parse output is very bad idea. I watch perfquery source code, but there are some MAD calls, which decode raw data into strings directly, while I need just integers. I cannot find any documentation for MAD functions, and source code has almost no comments.
Can anybody help me?

Now I can get counters data via pma_query_via, but I don't know how to decode them. In perfquery code mad_dump_perfcounters_ext is used, but it decodes all in text. I don't want to decode text - there must be more direct method :) If you know how to decode raw data, please, tell me.
Reply all
Reply to author
Forward
0 new messages