Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using FreeBSD. I would like to write a munin plugin to log it, but i don't understand how to get this data.

share|improve this question
I have a feeling that the answer will involve dtrace, however I'm not familiar enough with the technology to write a full answer on this subject... – EEAA Apr 11 '12 at 15:49
thanks anyway erika – cedivad Apr 11 '12 at 16:02

I don't believe there's a way to measure this directly without abusing dtrace.

Some things that may be helpful:

  • gstat(8) - Geom device statistics, can show you raw disk activity / workload
    Doesn't directly measure latency though.

  • ioping - Lets you measure latency from userland (you could run it & log/chart the results)
    Downside: Adds load to do the test, passes through the VFS layer, and can't test the underlying drive unless you reserve a partition for it to use.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.