Date
1 - 2 of 2
What Back-End Does Htop Use?
Nathan Scott
On Sat, Aug 28, 2021 at 9:50 AM jakolineplayer via groups.io
<jakolineplayer@...> wrote:
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
<jakolineplayer@...> wrote:
htop uses system calls directly to obtain this information. This code
Hey, I would like to know how are memory and CPU consumptions calculated by Htop?
Or what back-end does Htop relies on?
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