How to get incoming data volume/size

Hello everyone,
I need to make some analysis on incoming data volume/size.
Can any one please help me how to get input/outPut data size to a specific service.

Thanks
Baharul