Questions tagged [traffic-measurement]
57 questions
1
vote
2 answers
Python: how to calculate data received and send between two ipaddresses and ports
I guess it's socket programming. But I have never done socket programming expect for running the tutorial examples while learning Python. I need some more ideas to implement this.
What I specifically need is to run a monitoring program of a server…

ramdaz
- 1,761
- 1
- 20
- 43
0
votes
3 answers
Measuring network traffic in C#
I'd like my application to be able to monitor how much data (I don't need the actual packages, only amount of bytes) that goes in an out of the computer (on a single interface) at all time, and also over time. In other words; I want to be able to…

Alxandr
- 12,345
- 10
- 59
- 95
0
votes
1 answer
Traffic Performance Testing Webpages Under Specified Conditions
As the title implies, I would like to be able to simulate traffic to a collection of webpages that I have created for loadbalancing and bottleneck issues. I would like to mimic typical HTTP requests relative to the upload/download speed of the user.…

GoofyBall
- 401
- 3
- 8
- 25
0
votes
2 answers
Tutorial for multi core CPU usage in c++ in unix
I would like to know if someone can point me any library or tutorial to work with measurements. In a first moment, CPU usage, but latter I will need network (I've already found libcap, is this good?) and memory usages also.
I believe that each of…

Pedro Dusso
- 2,100
- 9
- 34
- 64
0
votes
1 answer
Measuring traffic server-side for 50+domains
I have a web-server with 50+ domains hosted. I am trying to find a tool that would give me some stats on incoming traffic for those domains. I know I can install a separate Google analytics code into each of those but that's just too much work and…

Anuj Gakhar
- 681
- 2
- 13
- 26
0
votes
1 answer
What is the software concept behind traffic maps?
A simple question: what is the name of concept that, for example, Google Maps and Waze use to discover and indicate traffic jam?
Is that from users information or something with satellite signals?

Taylon Assis
- 332
- 1
- 6
- 16
0
votes
1 answer
Collect statistics on current traffic with Bro
I want to collect statistics on traffic every 10 seconds and the only tool that I found is connection_state_remove event,
event connection_state_remove(c: connection)
{
SumStats::observe( "traffic", [$str="all"] [$num=c$orig$num_bytes_ip]…

nnovzver
- 55
- 6
0
votes
1 answer
Alexa/similarWeb traffic tracking on single-page application?
We have a single-page application build in angularJS, and are now facing the dilemma on how can Alexa/similarWeb properly track the traffic and user engagement within our classifieds sites. We figured out how to handle SEO and track with GA, but not…

Nimbrod
- 57
- 11
0
votes
1 answer
Change Alexa tracking inbound links from non-www to www version of site
I have problem with Alexa tracking for a website (eg: example.com) that redirects from non-www to www.
For some reason, Alexa displays the inbound links from the non-www version istead of the www version. For the www version I have over 2000…

DanTdr
- 424
- 1
- 4
- 15
0
votes
1 answer
Traffic control for WMS
I got a request from customer to create a service for traffic control of WMS service. The idea is:
a company buys some amount of data from WMS provider;
the company shares this data among its clients ;
the service should track how much traffic and…

Eduard Lepner
- 639
- 6
- 17
0
votes
1 answer
TrafficStats functions always return -1
When i try to retrieve traffic data using TrafficStats class,
TrafficStats.getTotalRxBytes() and TrafficStats.getTotalTxBytes() functions always return -1 even if i use the browser to load some web pages.
I knew from some forums that -1 mean that…

khalil
- 681
- 1
- 6
- 22
0
votes
1 answer
Android TrafficStats - Oversized value is a bug?
I am investigating about traffic measuring in android. I am developing on a Galaxy S4 and I programmed a service that catches TrafficStats API one time per minute, saves in SharedPreference the accumulated traffic (AKA BaseTraffic) and saves in…

ClarkXP
- 1,223
- 10
- 23
0
votes
1 answer
PHP Traffic accounting
we're calculating the traffic usage of customers with access logs of NGINX / apache.
Now a big question came to my mind.
What if I do this:
The call itself would be a simple…

JLW
- 64
- 1
- 7
0
votes
0 answers
Current Download/Upload Speed in Android
All,
I am newbie in android, just developing app to display the current Download/Upload Speed. I have got some tips from this Example. It uses TrafficStats.getTotalRxBytes() function that returns the total Bytes received after boot and increases…

Cyborgz
- 641
- 1
- 9
- 18
0
votes
0 answers
I get mass traffic to one of my PHP files, should I split to several same files?
Ok, so I get lots of traffic from around the world to a php file that is hosted on my server. this file runs several checks against the visitor, runs several SQL queries, and decide upon the user status what to do.
I'm getting like hundreds of hits…

MrBlackJack
- 11
- 1