[#CConnman-GetNodeStats]
= xref:CConnman.adoc[CConnman]::GetNodeStats
:relfileprefix: ../
:mrdocs:

Collect per&hyphen;peer statistics into the given vector&period;

== Synopsis

Declared in `&lt;net&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f950f5ff568), requires&lowbar;capability(0x7f950ed87d98), requires&lowbar;capability(0x7f950b490008), requires&lowbar;capability(0x7f95034d2c28), requires&lowbar;capability(0x7f950e20fff8), requires&lowbar;capability(0x7f9527747c98), requires&lowbar;capability(0x7f950c324e28), requires&lowbar;capability(0x7f950c240a58), requires&lowbar;capability(0x7f95018ba208), requires&lowbar;capability(0x7f950bd920b8), requires&lowbar;capability(0x7f95065c97b8)&rsqb;&rsqb;
void
GetNodeStats(std::vector&lt;CNodeStats&gt;& vstats) const;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *vstats*
| the vector to fill with per&hyphen;peer statistics&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
