Questions tagged [measurement]

30 questions
42
votes
5 answers

Measuring 'total bytes written' under Linux

We're quite interested in exploring the possibility of using SSD drives in a server environment. However, one thing that we need to establish is expected drive longevity. According to this article manufacturer's are reporting drive endurance in…
badnews
  • 565
  • 1
  • 6
  • 6
22
votes
9 answers

Linux: How to measure daily/montly network traffic?

I need to keep statistics of daily network traffic for a linux machine (CentOS 5). Is there a way to do it using standard/native tools or utilities? Or do I have to dowload special software for that? Thanks.
GetFree
  • 1,460
  • 7
  • 23
  • 37
7
votes
3 answers

What program in Linux can measure I/O over time?

I'm trying to measure the total amount of disk writing and reading that is done to a particular volume by a particular process over a specified duration. I've found iotop, which can output IO every second for a particular process like this: iotop…
Neil
  • 2,345
  • 8
  • 35
  • 44
4
votes
2 answers

What units are the I/O measures in GNU "time" in?

GNU time has optional display of I/O measurements: TIME="%I:%O" /usr/bin/time cp filea fileb 0:5488 but what units is it measuring? Any ideas? The manual only says %I Number of filesystem inputs by the process. %O Number of…
Craig Ringer
  • 10,553
  • 9
  • 38
  • 59
4
votes
6 answers

How to measure boot time?

I was wondering what is the "proper" or "most significant" way in which to measure the boot time of a client machine: From turn on to login prompt From turn on to login prompt (HDD light off) From turn on to browser open (HDD light off) From turn…
Sklivvz
  • 155
  • 1
  • 6
4
votes
1 answer

Measuring Disk IO programmatically

I want to measure some numbers related to disk io in a given timespan, programmatically. This means I don't want to spawn a process like iostat to get my numbers, by prefer to read something from proc or the like. I need to know: The number of…
Daniel
  • 825
  • 6
  • 24
3
votes
2 answers

Timing of programs in Windows

Is there a Windows equivalent of the time Unix command? time measures the time spent by a process in both user and kernel lands. $ time for i in `seq 100`; do echo -n HI; done HIHIHIHIHIHIHIHIHIHIHIHIHIHIHIHIHIHIHIHIHIHIHIHIHIHIHI<... snip ...> real…
Vinko Vrsalovic
  • 1,523
  • 2
  • 15
  • 20
3
votes
4 answers

What tools should I use to assess bandwidth for web server farm..?

I'm contemplating moving datacentre and I need to know the size of pipe I'll need in order to get a quote. Currently I'm charged on GBs of traffic per month (currently about 42GB inbound - so requests only) but the new mob would rent me a pipe…
3
votes
1 answer

iperf-like bidirectional bandwidth measurement through NAT

I am using iperf to measure my uplink speed between my home PC behind NAT and a fully accessible root server. It does so using a TCP connection. For whatever reason it seems that iperf can only measure client to server speed, where client is the one…
Paul
  • 1,890
  • 3
  • 18
  • 24
2
votes
2 answers

disk bytes/s read and write

I'm trying to figure out how to count read and written bytes per second. At the moment what I'm doing is I read the data from /proc/diskstats which looks like this: 202 0 xvda 80702313 1132334 2823807338 426518304 89838477 177437957 2140229136…
milosgajdos
  • 1,808
  • 2
  • 21
  • 29
2
votes
1 answer

How to measure how much bandwidth a ssh connection is using per day?

I have an ssh connection that I run to access a remote machine. At present I use autossh to keep the pipe open 24/7. I am curious as to how much the pipe alone uses bandwidth wise. How can I measure something like this? note: It is rarely used but…
dibs
  • 123
  • 1
  • 5
2
votes
2 answers

How do ISPs calculate bandwidth?

I mean, is 100 GB per month 100 * 1000^3 bytes or 100 * 1024^3 bytes? Wondering if they use the decimal definition like HDD manufacturers or the binary definition. I do know that there's technically Gibibyte (GiB) for binary but it's not commonly…
Jack
  • 497
  • 3
  • 5
  • 11
2
votes
2 answers

Measuring network throughput with netcat vs. CIFS/SMB transfer rates

I have been attempting to measure and benchmark our LAN's throughput as part of a larger project. Our LAN is constructed using cat5e and HP ProCurve 1800-24G switches which support 10/100/1000 Mbps auto-sensing. The physical topology is rather…
user62491
1
vote
1 answer

Is there a better way to analyze Varnish hit rate

I currently analyze varnish hit rate like this While this is good, a major part of the request the server services is non-cacheable. This brings down the hit rate drastically. How can I modify this such that I count only requests that are…
Quintin Par
  • 4,293
  • 10
  • 46
  • 72
1
vote
4 answers

How to measure dns queries per second

If you're not running your own dns server (or if you must run your own to do this assume you are) how would you measure how many DNS queries per second you get for your domain? Is there anyway to tell if a web request came using your DNS server as…
dlamblin
  • 929
  • 2
  • 10
  • 20
1
2