• 6
name

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191

Backtrace:

File: /home/prodcxja/public_html/questions/application/views/question.php
Line: 191
Function: _error_handler

File: /home/prodcxja/public_html/questions/application/controllers/Questions.php
Line: 433
Function: view

File: /home/prodcxja/public_html/questions/index.php
Line: 315
Function: require_once

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.

    • 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...

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.

  • 3
Reply Report

Trending Tags