Questions tagged [statistics]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
13
votes
5answers
6k views

How to gather byte occurrence statistics in binary file?

I'd like to know the equivalent of cat inputfile | sed 's/\(.\)/\1\n/g' | sort | uniq -c presented in https://stackoverflow.com/questions/4174113/how-to-gather-characters-usage-statistics-in-text-...
3
votes
1answer
716 views

How to gather full network usage statistics on a freebsd router?

I have a freebsd box, which serves as a router from LAN to the outside world. It has several Internet providers, OpenVPN servers and clients, NAT and so on. I would like to have complete statistics ...
47
votes
2answers
189k views

How do I get sar to show for the previous day?

on our servers, typing sar show's the system load statistics for today starting at midnight, is it possible to show yesterdays statistics?
15
votes
5answers
19k views

Traffic stats per network port

I have two machines with two applications that talk to each other on few network ports (TCP and UDP). I want to count traffic that they send and receive. I need not only overall count but stats per ...
4
votes
1answer
660 views

Are there awk versions that provide syntax for computing aggregations?

From time to time I find myself writing awk scripts that compute some simple statistics. For example computing a histogram, the average of a value, the standard deviation or even the variance ... ...
2
votes
3answers
6k views

What does /proc/loadavg ' s “CPU and IO utilization” mean?

In this page, it says that the first three columns of the output of /proc/loadavg measure CPU and IO utilization of the last one, five, and 10 minute periods. Does a single value reveal both CPU and ...
0
votes
0answers
70 views

measuring ppp traffic with ifstat

I've established a ppp link with 2 Linux machines. The speed is set to 9600. Traffic is going one way, i.e. from Machine 1 to Machine 2. However when I run ifstat -btwTWS -i ppp0 on Machine 2, I'm ...