Package Details: alsi 0.4.9-1

Git Clone URL: https://aur.archlinux.org/alsi.git (read-only, click to copy)
Package Base: alsi
Description: ALSI: a configurable system information tool for Arch Linux.
Upstream URL: https://github.com/trizen/alsi
Keywords: ascii
Licenses: GPLv3
Submitter: trizen
Maintainer: trizen
Last Packager: trizen
Votes: 179
Popularity: 0.000275
First Submitted: 2010-10-04 18:06 (UTC)
Last Updated: 2020-10-12 13:26 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 13 Next › Last »

steadybright commented on 2014-04-10 18:41 (UTC)

While I'm thinking of it, alsi's colored output (green, yellow, red) of memory/disk usage has not worked for me since installing. It works in archey and archey3, so I think there's a config issue with alsi. Any ideas?

steadybright commented on 2014-04-10 18:38 (UTC)

@trizen: That did the trick. Thanks.

trizen commented on 2014-04-10 17:43 (UTC)

@graysky: it's hard to add new partitions in alsi. the concept is broken by design, but you can add the following in ~/.config/alsi/alsi.output: {OTHER => sprintf("%%sSWAP:%%s %dM / %dM (%d%%)",split(' ',`tail -1 /proc/swaps|awk '{print\$4/1024,\$3/1024,\$4/\$3*100}'`))}, @steadybright: you get a negative value for the used RAM because alsi thinks that: MemFree + MemAvailable + Buffers == $free_mem which results in $free_mem being greater than MemTotal, which is wrong (however, this method used to be true once in the old days). Using the 'free -m' may be a better solution. Add the following line (and remove the old line {RAM => '...}) in ~/.config/alsi/alsi.output: {OTHER => sprintf('%%sRAM:%%s %dM / %dM (%d%%)', split(' ', `free -m|head -2|tail -1|awk '{print\$3,\$2,\$3/\$2*100}'`))}, To get the used RAM without the cached RAM, use: {OTHER => sprintf('%%sRAM:%%s %dM / %dM (%d%%)', split(' ', `free -m|head -2|tail -1|awk '{print\$3-\$7,\$2,(\$3-\$7)/\$2*100}'`))},

steadybright commented on 2014-04-10 16:19 (UTC)

1st three lines of meminfo: MemTotal: 3948296 kB MemFree: 3380892 kB MemAvailable: 3621028 kB It looks as I would expect. htop, archey, and archey3 all agree within a few MB; only alsi differs. Am I missing something obvious?

trizen commented on 2014-04-10 16:12 (UTC)

It may be a kernel bug. See the first three lines of /proc/meminfo.