Package: procps Version: 1:3.2.8-9 Severity: normal File: /usr/bin/free Tags: upstream
Basically the program rounds values (with -k -m -g). Judging from the output, an integer division occurs: user@host:~$ free -b total used free shared buffers cached Mem: 3159871488 1254219776 1905651712 0 29384704 487247872 -/+ buffers/cache: 737587200 2422284288 Swap: 6168764416 0 6168764416 user@host:~$ free -g total used free shared buffers cached Mem: 2 1 1 0 0 0 -/+ buffers/cache: 0 2 Swap: 5 0 5 Bytes / 1024 / 1024 / 1024 = GigaBytes 3159871488 / 1024 / 1024 / 1024 = 2 GB It should be (ruby code/syntax) : Bytes / 1024 / 1024 / 1024.0 = GigaBytes sprintf('%.1f', (3159871488 / 1024 / 1024 / 1024.0)) = 2.9 GB Integer division for gigabyte values is misleading especially for non-programming users (and also not very usefull). -- System Information: Debian Release: 6.0.3 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores) Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages procps depends on: ii initscripts 2.88dsf-13.1 scripts for initializing and shutt ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib ii libncurses5 5.7+20100313-5 shared libraries for terminal hand ii libncursesw5 5.7+20100313-5 shared libraries for terminal hand ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip Versions of packages procps recommends: ii psmisc 22.11-1 utilities that use the proc file s procps suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org