[#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(0x7f2e2b749b68), requires&lowbar;capability(0x7f2e28942878), requires&lowbar;capability(0x7f2e234d1a58), requires&lowbar;capability(0x7f2e2737e1f8), requires&lowbar;capability(0x7f2e235ef888), requires&lowbar;capability(0x7f2e2a34b978), requires&lowbar;capability(0x7f2e219f8748), requires&lowbar;capability(0x7f2e21c83608), requires&lowbar;capability(0x7f2e1aa36168), requires&lowbar;capability(0x7f2e376b8248), requires&lowbar;capability(0x7f2e433cddd8)&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]#
