Typo in memory status script
Bug #1059307 reported by
Adam Porter
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
byobu |
Fix Released
|
Wishlist
|
Dustin Kirkland |
Bug Description
fo_cached=
should be
fo_cached=$(($free + $buffers_
BTW, I changed it to only report the amount of free memory. It seems more useful that way. And I added this to colorize the background red if there's less than 10% free:
if [[ $f -lt 10 ]]; then
bgcolor='r'
else
bgcolor='g'
fi
color b $bgcolor w; printf "%s" "$total"; color -; color b $bgcolor K; printf "%s" "$unit"; color --;
Changed in byobu: | |
assignee: | nobody → Dustin Kirkland (kirkland) |
importance: | Undecided → Wishlist |
Changed in byobu: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Committed revision 1982.