swap status doesn't appear until swap is not empty

Bug #843446 reported by Dutch Gecko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu
Fix Released
Wishlist
Dustin Kirkland 
byobu (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

I'm not sure if this is intended or not, but the swap information on the status bar remains hidden until some data has been page to the swap file. My guess would be that it's preferable to show the info at all times, giving a usage of 0% if empty.

$ byobu -v
byobu version 4.31
Screen version 4.00.03jw4 (FAU) 2-May-06

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Hmm, well, in an effort to be less verbose, the current standard practice is to disable the display entirely, if the value is zero. For instance, the network traffic, disk io, and wireless status items all "disappear" when there's nothing interesting to report.

I suppose I could make exceptions for those that are not enabled by default (such as swap), where if you explicitly enable it, then you want to see a 0% value...

Changed in byobu:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Actually, this is a trivial fix, and I think a good idea. Swap status should behave just like memory and disk, both of which *would* display 0% if that's what the usage is. Thanks for the report!!

Changed in byobu:
status: Triaged → Fix Committed
assignee: nobody → Dustin Kirkland (kirkland)
Changed in byobu (Ubuntu):
status: New → Fix Committed
importance: Undecided → Wishlist
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package byobu - 4.33-0ubuntu1

---------------
byobu (4.33-0ubuntu1) oneiric; urgency=low

  * usr/lib/byobu/updates_available:
    - localize variables
    - save a fork
    - fix detection of updates, which only worked when there were security
      updates
  * usr/lib/byobu/.shutil: LP: #844994
    - the wget --timeout=1 was not working as desired, without the --tries=1
      option too; so local boots of ubuntu ec2 images that don't have a
      working metadata service might take several minutes for byobu to start
      while that wget tries repeatedly to reach the metadata service;
      big thanks to Ben Howard for helping triage and fix ;-)
  * usr/lib/byobu/apport: LP: #842113
    - fix broken detection of apport bug reports, thanks to lp:~masterpatricko
      for the suggested fix
  * etc/byobu/backend, usr/bin/byobu, usr/lib/byobu/.common,
    usr/lib/byobu/.dirs, usr/share/byobu/status/status,
    usr/share/man/man1/byobu.1: LP: #836090
    - fix handling of byobu backend (screen|tmux) handling; thanks to
      lp:~zorun-42 for the fix
  * usr/lib/byobu/swap: LP: #843446
    - make swap status behave like disk and memory (display usage even if
      zero)
 -- Dustin Kirkland <email address hidden> Fri, 26 Aug 2011 19:07:32 -0500

Changed in byobu (Ubuntu):
status: Fix Committed → Fix Released
Changed in byobu:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.