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
Hello,
not an issue, but an idea: use
rapiddiskdand (for example) a web server + PHP to showrapiddisk's statistics in a fashonable way.ncursesmay 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 problemreads- global read operations performed byrapiddisk? What is the unit of measurement of this value?writes- as abovecache_hits- the number of read operations (?) which did not require disk access?replacement- no cluewrite_replacement- no clueread_invalidates- no cluewrite_invalidates- no clueuncached_reads- the number of read operations (?) which did not go into the cache?uncached_writes- as abovedisk_reads- the number of read operations (?) which required disk access? Is this equal toreads-cache_hits(orcache_reads)?disk_writes- same as above? In WA cachewrites==disk_writes==uncached_writes?cache_reads- no cluecache_writes- no clueThanks in advance!
Regards