Displaying node statistics

How do i print the statistics of a node via icontrol ruby

I need to know a way to display the data in Common::StatisticType

which gives the statistics of a node like connection statistics etc

A brief example ll be hugely helpfull