New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Look into libsysstat/libstatgrab situation #704
Comments
We actually depend on lm_sensors as well, in lxqt-panel's plugin-sensors. |
This is the situation:
I think we should choose libsysstat or libstatgrab to provide information for both the sysstat and network plugins. I don't think these two libraries can do what lm_sensors does. @kuzmas what do you think? I saw your email (linked above), but it's been been two years since that and libstatgrab seems to have matured. |
@paulolieuthier sorry, I haven't been following libstatgrab or lm_sensors features for the last two years. tl;dr: if a plugin+library can do something unique then it's better to keep them. |
@kuzmas agreed, if there's no alternative, we can keep maintaining it. But if it's available in a kf5 or some such, I'd rather we drop it. Nobody is working on it so it just goes unmaintained. |
There is yet another plugin, cpu load, that depends on libstatgrab. I tried porting the network monitor plugin to libsysstat, but the library lacks a fundamental feature: show the global statistics. It only signals the change, with no information about the accumulated resource usage. To put it more clearly: one can set an interval and get updates of how many bytes were transferred and received in each interval. But one can't get information about how much was transmitted/received since computer startup. That information is provided easily by libstatgrab. Sure it can be added to libsysstat with no much effort. And it's nice a Qt-based library around. But it means maintenance cost for us. Besides, libstatgrab is very portable and have information about processes, users, disks, filesystems etc. I'll start porting the sysstat plugin to libstatgrab. |
|
Yes, both libstatgrab and libsysstat do that by reading
Yes, we want it. The network monitor plugin can switch its icon depending on whether there has or hasn't been transmitted/received bytes in the previous interval. |
That's not a good enough reason tbh |
What do you mean? Isn't this the core feature of the network monitor plugin (besides showing the stats since startup, which is in a popup)? |
I had some more time and looked further into it. There is one more reason to deprecate libsystat: it only supports Linux. libstatgrab, as I said, is very portable. It supports the BSDs as well. So I started the port. However, libstatgrab, AFAIK, can't give the stats of individual cores of a multi-code CPU. libsysstat can. It means the port would remove features from the plugin. I'm not sure what to do. Maybe we should postpone this issue. @luis-pereira, @jleclanche, @pmattern, @agaida, @palinek: what do you think? |
libstatgrab also doesn't know about the CPU frequency. |
I don't use the stat plugin but IMO such plugin should be aware of cpu cores and their frequencies. |
imho we have two choices - deprecate libsysstat or make sure that the On the other hand - do we need the statistic tools at all? a overall But wait - qps in its current state runs only on linux and maybe Alf Gaida |
FYI Olivier Duchateau and my self, have ported libsysstat to FreeBSD, with some minor differences, e.g |
The text was updated successfully, but these errors were encountered: