There is a feature I want developed yes, let me explain myself better:

For every device and partition in dio.lua, we have these:

~~
local read  = (stats[1] - last_stats[1]) / interval
local write = (stats[2] - last_stats[2]) / interval

helpers.uformat(disk_usage, device.." read",  read,  unit)
helpers.uformat(disk_usage, device.." write", write, unit)
helpers.uformat(disk_usage, device.." total", read + write, unit)
~~

Thus, total is the read+write speed at a given interval of time.

What I'd like to have implemented is the "accumulated" count, e.g.
adding the following three lines:

~~
helpers.uformat(disk_usage, device.." acc_read",  stats[1],  unit)
helpers.uformat(disk_usage, device.." acc_write", stats[2], unit)
helpers.uformat(disk_usage, device.." acc_total", stats[1]+stats[2], unit)
~~

I think this practical explanation does a way better job than I did at
expaining myself :)

Regards.

On Thu, Jan 31, 2013 at 01:41:11 +0100, Adrian C. wrote:
> Is there a feature you want developed? Or you are asking to remove 
> total_$unit from disk usage table? 
> 
> Then no, a user developed that feature so it's being used at least by 
> him.

-- 
Daniel Martí - [email protected] - GPG 0x58BF72C3

Attachment: pgpjTRjHdWn88.pgp
Description: PGP signature

Reply via email to