6 ms·
It would really be nice to not have to require a daemon to make this program useful
by DrillShopper 1y ago
It would really be nice to not have to require a daemon to make this program useful
- DeepYogurt 1y agoYa. The joy of cpu-z is that its a single small binary.
- lmz 1y agoI wouldn't read too deeply into that. I'm pretty sure cpu-z bundles a driver that is unpacked and installed at runtime (search for 'cpuz sys')
- dmitrygr 1y ago$ man dmidecode
- preisschild 1y agoAt least in the Flatpak, it can be started by just clicking the "Start daemon" button.
- nateb2022 1y agoc.f. https://github.com/TheTumultuousUnicornOfDarkness/CPU-X/wiki/daemon-purpose https://github.com/TheTumultuousUnicornOfDarkness/CPU-X/wiki... the daemon separates userspace from root domain, and ensures that the code running with root privileges is very small and easily auditable
- __turbobrew__ 1y agoMaybe I am dumb, but why does it have to be a daemon? Why not have the user process fork off the privileged binary to collect data and return the results through stdout?
- unaindz 1y agoForking a process is not free and starting one every hundred of a millisecond* seems very expensive. *I'm do not know which frequency it updates the data but it's usually 1 sec to 0.1 sec.
- whalesalad 1y agoI use it without the daemon. I don't even know what the daemon does.