diff options
author | Pascal Terjan <pterjan@gmail.com> | 2023-05-05 19:58:15 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@gmail.com> | 2023-05-05 20:11:21 +0000 |
commit | bc1b6ee565efced5ce23ad68a1e302f61bcc8b09 (patch) | |
tree | 49b028c1dde18fe9bbd6473fb9e58923b15aa224 /docs/interactive | |
parent | 439e249b3e8696c8eac136a846d5d5bdffc071a1 (diff) | |
download | drakx-bc1b6ee565efced5ce23ad68a1e302f61bcc8b09.tar drakx-bc1b6ee565efced5ce23ad68a1e302f61bcc8b09.tar.gz drakx-bc1b6ee565efced5ce23ad68a1e302f61bcc8b09.tar.bz2 drakx-bc1b6ee565efced5ce23ad68a1e302f61bcc8b09.tar.xz drakx-bc1b6ee565efced5ce23ad68a1e302f61bcc8b09.zip |
Fix total_memory()
It was using the size of /proc/kcore which is 128T on x86_64
regardless of available memory, and does not exist on aarch64.
Instead use sysinfo().
Diffstat (limited to 'docs/interactive')
0 files changed, 0 insertions, 0 deletions