! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Add functionality to graph disk I/O
Status:
RESOLVED: FIXED
Priority:
Very Low
Severity:
enhancement
Product:
Xfce4-hardware-monitor-plugin
Component:
General

Comments

Description sal.tepedino 2016-03-22 16:46:33 CET
Disk I/O would be a useful graph to include in the applet. /proc/diskstats should contain all the necessary info.
Comment 1 OmegaPhil 2016-03-31 23:00:12 CEST
For reference I want to start work on the next iteration of this plugin in 1-2 months (I'd like this functionality too), its behind a few other projects atm, and the next iteration will mean porting to a different drawing library resulting in an unknown amount of time wastage.
Comment 2 OmegaPhil 2016-06-25 12:57:11 CEST
I have this functionality completed locally (monitoring the various stats from /proc/diskstats and reporting on the change per second, or the raw value if that doesn't make sense), and I have implemented a generic monitor (where you can just dump a number into a file and then plot it in a visualisation).

If you're interested in testing, I can push the branch to the XFCE repo and you can check it out.

Otherwise I'm planning to release in ~1 week.
Comment 3 sal.tepedino 2016-06-27 17:52:01 CEST
I'll give it a test, sure.
Comment 4 OmegaPhil 2016-06-28 21:43:11 CEST
Cheers - see the new branch: http://git.xfce.org/panel-plugins/xfce4-hardware-monitor-plugin/log/?h=omegaphil/graph-disk-io

Note that the build requirements have changed a little - libglade has been removed, libgtkmm to v2.24.

Currently theres no new documentation, I plan to do that on Friday+ - basically see on the Storage tab, the new Disk Statistics option - you select your disk then your stat. Note that for source stats that are essentially permanently increasing numbers, the actual stat reported in the visualisation is the 'change per second' (otherwise you'd just get a juddering rising line).

There is also a new Generic Monitor (see the last tab), that allows you to visualise pretty much any source data number (however as the graph space is so small, large number + small change won't make a lot of visible difference) read from a file, if you're interested.
Comment 5 OmegaPhil 2016-07-19 20:31:15 CEST
Implemented in v1.5.

Bug #12515

Reported by:
sal.tepedino
Reported on: 2016-03-22
Last modified on: 2016-07-19

People

Assignee:
OmegaPhil
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information