How to count numbers of different element types in eHealth

Document ID : KB000010366
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

How to count numbers of different element types in eHealth

Environment:
eHealth, all supported versions, all supported platforms
Instructions:

The nhListElements command can be combined with wc -l to count numbers of elements.

Examples:

nhListElements -elemType device | wc -l 

52 

nhListElements -elemType interface | wc -l 

720 

nhListElements -elemType qos | wc -l 

821 

For a list of types to use with -elemType <type> run:

nhListElements -showTypes