dylanaraps / pfetch

🐧 A pretty system information tool written in POSIX sh.
MIT License
2.05k stars 163 forks source link

RAM usage and package amount info is inaccurate #186

Open piotr25691 opened 2 years ago

piotr25691 commented 2 years ago

pfetch doesn't seem to display accurate information in the pkgs and the memory fields.

This is the thing it outputs:

  _____      root@solar
 /  __ \     os     Debian GNU/Linux 11 (bullseye)
|  /    |    host   vServer 20171111
|  \___-     kernel 5.15.0-0.bpo.2-amd64
-_           uptime 14h 12m
  --_        pkgs   495
             memory 630M / 1933M

However the RAM usage in htop or even the free -h command is actually hovering at 450 MB, not 630. Even then the package amount is inaccurate too. It shows 495 but when i use apt list --installed | wc -l, it says 490.

This should be fixed.

sophiiss commented 2 years ago

Happens to me too. For me, it's usually around 500 MB off at all times, so that's pretty inaccurate.

Un1q32 commented 2 years ago

Happens to me too. For me, it's usually around 500 MB off at all times, so that's pretty inaccurate.

this happens in neofetch too btw

piotr25691 commented 2 years ago

Happens to me too. For me, it's usually around 500 MB off at all times, so that's pretty inaccurate.

this happens in neofetch too btw

there appears to be a fixed version in the AUR tho yay -S pfetch (not pfetch-git, that one leads to the same inaccurate version this issue is talking about)