Date
1 - 2 of 2
What Back-End Does Htop Use?
jakolineplayer@...
Hey, I would like to know how are memory and CPU consumptionsĀ calculated by Htop? Or what back-end does Htop relies on?
|
|
Nathan Scott
On Sat, Aug 28, 2021 at 9:50 AM jakolineplayer via groups.io
<jakolineplayer@...> wrote: htop uses system calls directly to obtain this information. This code is platform-specific, so there's different code for each platform, but for example on Linux: https://github.com/htop-dev/htop/blob/master/linux/Platform.c cheers. -- Nathan |
|