trizen / alsi

A command-line system information tool for Arch Linux.

Home Page:http://trizenx.blogspot.com/2012/08/alsi.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Alsi reports wrong ram usage

sachilles opened this issue · comments

Hi,

I like 'alsi' very much. Unfortunately, on my machine alsi does report a wrong ram usage. In my case there are 16 GB RAM installed and in use are 2768 GB RAM (report of free -m). The output of alsi is in this case

RAM: -11735 MB / 15742 MB (-74%)

Is there a chance to fix this?

Thanks in advance and best regards.

Hi,

As you can see in the AUR comments, there was a debate on this since the release of kernel 3.14.0. Could you, please, attach here the first 10 lines of /proc/meminfo?

Thanks

Hi,

of course. Here are the first then lines of "cat /proc/meminfo | head -n 10"

MemTotal:       16120572 kB
MemFree:        13178824 kB
MemAvailable:   14680084 kB
Buffers:           81296 kB
Cached:          1716080 kB
SwapCached:            0 kB
Active:          1922260 kB
Inactive:         716228 kB
Active(anon):     848120 kB
Inactive(anon):   169772 kB

and alsi reports

RAM: -11541 MB / 15742 MB (-73%)

Thanks

Everything looks alright and should produce 1117M / 15742M (7%) . Maybe you're still using an older version of alsi? The latest version is 0.4.7 (alsi -v). Also, make sure that which alsi actually prints /usr/bin/alsi, otherwise delete whatever it prints and/or re-install the latest version from the AUR. I hope this will help.

Thanks for pointing to the version. Indeed, the installed alsi was outdated (version 0.4.5 from archlinuxfr/alsi). I did not realize this. Sorry for any inconvinience and for your fast replies.

Best regards

No problem at all.