Subscribe

How get the KBps&tps data from the OnTap API

We would like to get the KBps&tps data from the OnTap API, and we get the kindly feedback from you before.

But unfortunatly, the methods you mentioned before not work! We can't get the KBps & Tps DATA.

Would you please kindly tell us can we  obain the KBps&Tps data from which package, inteface, attribute or etc...?

Or, from the api, there just no way to do this?

The KBps & Tps data are very very important to our current project, so we need your strongly and professional support.

The version of our ONTAP is NetApp Release 8.0.3 and the System Model is 7-Mode .

Now I can obtain the attributes and values of the disk from CounterData and CounterInfo in the com.netapp.nmsdk.ontap.api.perf package. Unfortunately, the description of the attributes are  not clear enough, so we don't event konw how to find out the KBps and TPS.
Please help me  to get the KBPS and TPS using those about the attribute?

Properties:

counter.getName:display_name,getDesc:Name of the disk

counter.getName:raid_name,getDesc:Name of the disk in raid terminology

counter.getName:raid_type,getDesc:Raid type of this disk

counter.getName:disk_speed,getDescSmiley Very Happyisk RPM

counter.getName:disk_capacity,getDescSmiley Very Happyisk capacity in MB

counter.getName:total_transfers,getDesc:Total number of disk operations involving data transfer

initiated per second

counter.getName:user_read_chain,getDesc:Average number of blocks transferred in each user read

operation

counter.getName:user_reads,getDesc:Number of disk read operations initiated each second for

retrieving data or metadata associated with user requests.

counter.getName:user_write_chain,getDesc:Average number of blocks transferred in each user write

operation.

counter.getName:user_writes,getDesc:Number of disk write operations initiated each second for

storing dat or metadata associated with user requests

counter.getName:user_writes_in_skip_mask,getDesc:Number of disk write IOs that were executed as

part of askip-mask write

counter.getName:user_skip_write_ios,getDesc:Number of disk skip-write operations initiated each

second for storing data or metadata associated with user requests

counter.getName:cp_read_chain,getDesc:Average number of blocks transferred in each consistency

point read operation during a CP

counter.getName:cp_reads,getDesc:Number of disk read operations initiated each second for

consistency point processing

counter.getName:guarenteed_read_chain,getDesc:Average number of blocks transferred in each

guaranteed read operation

counter.getName:guarenteed_reads,getDesc:Number of disk read operations initiated each second for

raid reconstruct or scrubbing activities

counter.getName:guarenteed_write_chain,getDesc:Average number of blocks transferred in each

guaranteed write operation

counter.getName:guarenteed_writes,getDesc:Number of write read operations initiated each second

for raid reconstruct or scrubbing activities

counter.getName:user_read_latency,getDesc:Average latency per block in microseconds for user read

operations

counter.getName:user_read_blocks,getDesc:Number of blocks transferred for user read operations

per second

counter.getName:user_write_latency,getDesc:Average latency per block in microseconds for user

write operations

counter.getName:user_write_blocks,getDesc:Number of blocks transferred for user write operations

per second

counter.getName:skip_blocks,getDesc:Number of blocks skipped in skip-mask write operations per

second

counter.getType:null,getUnit:per_sec

counter.getName:cp_read_latency,getDesc:Average latency per block in microseconds for consistency

point read operations

counter.getName:cp_read_blocks,getDesc:Number of blocks transferred for consistency point read

operations per second

counter.getName:guarenteed_read_latency,getDesc:Average latency per block in microseconds for

guaranteed read operations

counter.getName:guarenteed_read_blocks,getDesc:Number of blocks transferred for guaranteed read

operations per second

counter.getName:guarenteed_write_latency,getDesc:Average latency per block in microseconds for

guaranteedwrite operations

counter.getName:guarenteed_write_blocks,getDesc:Number of blocks transferred for guaranteed write

operations per second

counter.getName:disk_busy,getDesc:Percentage of time there was at least one outstanding request

to the disk

counter.getName:base_for_disk_busy,getDesc:Time base for disk_busy calculation

counter.getName:io_pending,getDesc:Average number of IOs issued to the disk, for which we have

not yet received the response

counter.getName:base_for_disk_busy,getDesc:Time base for disk_busy calculation

counter.getName:io_queued,getDesc:Number of IOs queued to the disk but not yet issued

counter.getName:disk_io_latency_histogram,getDescSmiley Very Happyisk I/O latency histogram

Values:

display_name=0b.01.14

raid_name=/aggr0/plex0/rg1/0b.01.14

raid_type=data

disk_speed= 7200

disk_capacity=847555

total_transfers=187322300

user_read_chain=92422587

user_reads=4516007

user_write_chain=26844858

user_writes=1405536

user_writes_in_skip_mask=0

user_skip_write_ios=0

cp_read_chain=3713762

cp_reads=754664

guarenteed_read_chain=1445168744

guarenteed_reads=180646093

guarenteed_write_chain=0

guarenteed_writes=0

user_read_latency=24477011000

user_read_blocks=92422587

user_write_latency=18861760000

user_write_blocks=26844858

skip_blocks=0

cp_read_latency=6483732000

cp_read_blocks=3713762

guarenteed_read_latency=179410216000

guarenteed_read_blocks=1445168744

display_name=0a.00.1

guarenteed_write_latency=0

guarenteed_write_blocks=0

disk_busy=224011488

base_for_disk_busy=7612165661

io_pending=1025944780

io_queued=49194097

disk_io_latency_histogram=167073842,15967031,412635,397576,842211,740346,513430,747657,271289,263512,76267,12401,2853,794,251,57,25,75,32,8,4,1,3,0,0,0,0,0,0,0,0,0,0,0,0,0

Thanks!

Re: How get the KBps&tps data from the OnTap API

please help me

Re: How get the KBps&tps data from the OnTap API

For TPS, use total_tranfers for the disk object.

total_transfers: Total number of disk operations involving data transfer initiated per second

For KBps, sum user_write_blocks and user_read_blocks from the disk object.

user_write_blocks: Number of blocks t transferred for user write operations per second

user_read_blocks: Number of blocks transferred for user read operations per second

A block is 4 KB or 4096 bytes.


   - Rick -

(Pasted answer from email by Rick Ehrhart)