Add information about swap space being used
Bug #677259 reported by
Daniel Hahler
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
byobu |
Fix Released
|
Wishlist
|
Unassigned | ||
byobu (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
According to /usr/lib/
f=$(free | awk '/Swap:/ { if($2) printf "%.0f", $3 ? 100*$2/$3 : 0; else print "-" }')
printf "$(color g w),$(color b g W)%s$(color -)$(color g W)%%$(color -)" "$f"
This needs some hack(?) like the one used in mem_available (so it works with the other memory status):
. "$HOME/
[ "$mem_used" = "1" ] && comma="," || whitespace=" "
Please consider adopting it for the next release.
Also, please tell me how to rescan the list of status snippets, so that they would show up in the toggle list used with byobu-config?
Changed in byobu: | |
status: | New → In Progress |
Changed in byobu: | |
status: | In Progress → Fix Committed |
Changed in byobu (Ubuntu): | |
status: | New → Fix Committed |
Changed in byobu: | |
importance: | Undecided → Wishlist |
Changed in byobu (Ubuntu): | |
importance: | Undecided → Wishlist |
Changed in byobu: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This bug was fixed in the package byobu - 3.10-0ubuntu1
---------------
byobu (3.10-0ubuntu1) natty; urgency=low
* usr/lib/ byobu/custom: fix typo in for loop, LP: #673728, thanks for byobu-janitor: make sure this runs to completion, LP: #676605 byobu/cpu_ freq: scale bogomips by number of processors, if byobu-config, usr/lib/ byobu/Makefile. am, lib/byobu/ swap, usr/share/ byobu/profiles/ common, share/man/ man1/byobu. 1: add a swap memory usage notification, byobu/release: fix the ubuntu devel release printing
the triage Jorge E. Gómez
* usr/bin/
* usr/lib/
using bogomips to estimate frequency, LP: #675442
* etc/byobu/statusrc, usr/bin/
usr/
usr/
LP: #677259
* usr/lib/
-- Dustin Kirkland <email address hidden> Fri, 12 Nov 2010 22:45:25 -0600