[Bug 406101] Re: top(1) uses invalid memory size suffixes.

Bryan Quigley gQuigs at gMail.com
Fri Mar 15 18:03:06 UTC 2013


They went with KiB which I think is sensible.  Fixed at least in 12.04
and above.

** Changed in: procps (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to procps in Ubuntu.
https://bugs.launchpad.net/bugs/406101

Title:
  top(1) uses invalid memory size suffixes.

Status in “procps” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: debian-installer

  -------------------------------------------------------------------------------
  Description:    Ubuntu 9.04
  Release:        9.04
  -------------------------------------------------------------------------------
  top - 20:36:24 up  1:05,  3 users,  load average: 0.60, 0.62, 0.72    
  Tasks: 125 total,   2 running, 123 sleeping,   0 stopped,   0 zombie  
  Cpu(s): 31.8%us,  5.8%sy,  4.7%ni, 56.1%id,  1.4%wa,  0.1%hi,  0.1%si,
  0.0%st
  Mem:    493296k total,   420424k used,    72872k free,    20088k buffers
  Swap:   522104k total,    41996k used,   480108k free,   175416k cached

    PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND           
   2494 root      20   0 63008  28m 6368 S 12.8  5.8   4:54.20 Xorg              
  -------------------------------------------------------------------------------

  My comments:

         "k" is not a sensible suffix for memory size.  If top means
     1,024 bytes, it should use K instead (de-facto since at least the
     early 1960s, probably earlier than that).

         Similarly "m" signifies milli, or 0.001 bytes.  M should
     probably be used instead, though there is some debate whether it
     means mean 1,000,000 bytes (as per standard scientific use) or  
     1,048,576 bytes (which perhaps seems more natural to a computer 
     person).
                                                             - Andy Ball

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/procps/+bug/406101/+subscriptions




More information about the foundations-bugs mailing list