disk space and ram calculation are not correct
Posted: Sun 8. Jan 2023, 22:58
Hi,
first of all, awesome work!
I've noticed in the admin area that the ram calculation doesn't include the cache so it doesn't show the actually free value but the free ram value without the cache.
E.g. with 4GB ram i have:
Free: 3.22 GB
Used: 622.80 MB
Total: 3.83 GB
but in reality it's (taken from the console, [ free -h]):
total: 3.8Gi
used: 634Mi
free: 2.7Gi
shared: 16Mi
cache: 557Mi
available 3.0Gi
Same for the disk space calculation, it doesn't include the tempfs, so the calc doesn't make much sense:
Free: 31.73 GB Used: 5.45 GB Total: 39.20 GB
If possible, please provide a fix.
Thanks a lot
first of all, awesome work!
I've noticed in the admin area that the ram calculation doesn't include the cache so it doesn't show the actually free value but the free ram value without the cache.
E.g. with 4GB ram i have:
Free: 3.22 GB
Used: 622.80 MB
Total: 3.83 GB
but in reality it's (taken from the console, [ free -h]):
total: 3.8Gi
used: 634Mi
free: 2.7Gi
shared: 16Mi
cache: 557Mi
available 3.0Gi
Same for the disk space calculation, it doesn't include the tempfs, so the calc doesn't make much sense:
Free: 31.73 GB Used: 5.45 GB Total: 39.20 GB
If possible, please provide a fix.
Thanks a lot