! 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 !
genmon timer period in ms
Status:
RESOLVED: FIXED
Severity:
enhancement
Product:
Xfce4-genmon-plugin
Component:
General

Comments

Description ghost_1987 2012-07-12 08:21:59 CEST
Please change default timer period from seconds to milliseconds.
It's trivial to patch, but crucial to end user.
It would allow cpu/mem/io/net/bat ... etc monitoring in all in one panel plugin using conky-cli.
Comment 1 Miguel Guedes 2012-07-13 09:52:32 CEST
Patch to allow for lower update periods

  * Period steps lowered to 250ms (0.25s) like other plugins

  * Minimum allowed period lowered to 0.25s

  * Adjustment spinner now has 2 decimal places instead of only integers.


Link to patch: http://paste.ubuntu.com/1089431/
(bugzilla wouldn't accept attachment)
Comment 2 John Lindgren editbugs 2012-08-05 19:30:10 CEST
I notice that your patch only changes the UI.  Is the finer-grained adjustment saved to the config and loaded again correctly?
Comment 3 Miguel Guedes 2012-08-19 16:06:05 CEST
It is, yes. It was already being saved/restored in milliseconds so it was only a matter of adjusting the UI.
Comment 4 John Lindgren editbugs 2012-08-22 01:35:43 CEST
Okay, great!  I've committed this patch:
http://git.xfce.org/panel-plugins/xfce4-genmon-plugin/commit/?id=2d5fa307827a7b32af4f7b2ae0604f943e3a6e99

Thank you for your work!

Bug #9102

Reported by:
ghost_1987
Reported on: 2012-07-12
Last modified on: 2012-08-22

People

Assignee:
Florian Rivoal
CC List:
2 users

Version

Attachments

Additional information