Expose system information via DBUS
This popped up in some discussions regarding sandboxing gtop clients (e.g. flatpak distribution of Usage or System Monitor using gtop):
Currently Linux doesn't use the gtop daemon, but uses libgtop. For system monitoring gtop has to get data from the system (/proc fs on Linux), which in a sandboxed environment has to be allowed explicitly, and kindof breaks the point of containerization.
It would be great if gtop would be able to expose a dbus api (just as it can expose its full API over a local server, a unix socket). Based on my code review this could also live as an additional communication channel of libgtop in addition to the SOCKET, NET, etc, or even a completely new daemon.
Let's have a discussion on the advantages and disadvantages of a DBUS interface in context of all gtop-supported OSs.