Hi Srikanth,
Below is the cli to get a counter name.
root@lnx~# dfm perf counter list flakes:ifnet:e0a:total_errors
Object Instance Counter Label1 Label2 Unit Priv
------- --------- -------- ------- ------- ----- -----
ifnet e0a total_errors per_sec basic
[root@lnx ~]#
[root@lnx~]# dfm perf view create help
NAME
create -- create a new view
SYNOPSIS
dfm perf view create [ -c <counter-name> | -d -C <perf-counter> ] [-S] [ -t <chart-name> ]
[ -a <appliance-name-or-id> | -g <group-name-or-id> | -n <object-name-or-id> ]
<view-name> <sample-rate> <sample-buffer>
DESCRIPTION
create a new performance view
sample-rate and sample-buffer should be specified in seconds
Use -d along with the -C option to create dynamic top-N chart
The format of perf-counter is <object-name>:<counter-name>:<label1-name>:<label2-name>
Use -S to create a view with an events block
Use -t to specify the name of the chart to which the
counter should be added.
[root@lnx ~]# dfm perf view create -c flakes:ifnet:e0a:total_errors -t test cust_view 5 123456
View cust_view created successfully
[root@lnx ~]# dfm perf view help
Regards
adai