Skip to content

Showing stats in a graphical layout via php/apache/ncurses #109

@matteotenca

Description

@matteotenca

Hello,

not an issue, but an idea: use rapiddiskd and (for example) a web server + PHP to show rapiddisk's statistics in a fashonable way. ncurses may be used too, in a command line tool, same idea, different approach.
The objective is to show a real-time graph of the changing stats for a device. But to be honest I don't understand the exact meaning of many of the values - when/if you have time you might explain them to me:

{
  "statistics": [
    {
      "cache_stats": [
        {
          "device": "rc-wa_sda2",
          "reads": 276566,
          "writes": 198611,
          "cache_hits": 13201,
          "replacement": 147282,
          "write_replacement": 0,
          "read_invalidates": 0,
          "write_invalidates": 13572,
          "uncached_reads": 3,
          "uncached_writes": 198611,
          "disk_reads": 263370,
          "disk_writes": 198611,
          "cache_reads": 13201,
          "cache_writes": 263367
        }
      ]
    }
  ]
}

device - no problem
reads - global read operations performed by rapiddisk? What is the unit of measurement of this value?
writes - as above
cache_hits - the number of read operations (?) which did not require disk access?
replacement - no clue
write_replacement - no clue
read_invalidates - no clue
write_invalidates - no clue
uncached_reads - the number of read operations (?) which did not go into the cache?
uncached_writes - as above
disk_reads - the number of read operations (?) which required disk access? Is this equal to reads - cache_hits (or cache_reads)?
disk_writes - same as above? In WA cache writes == disk_writes == uncached_writes ?
cache_reads - no clue
cache_writes - no clue

Thanks in advance!

Regards

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions