No description
  • Python 74.6%
  • Roff 17.3%
  • C 8.1%
Find a file
??? 4865bf2967 [PATCH] physical memory size computing error
There are two minor bugs on physical memory size computing:
(1) fromunits() returns wrong value for "2001844kB", which consists of
more than one digits.
(2) memory()['memtotal'] is in kB. If "--realmem" is not provided at
CLI, totalmem() returns number in MB and the "firmware/hardware"
amount will be minus. totalmem() needs to always return value in kB.

Here is how to test this patch:
(1) Do "smem -w" , the "firmware/hardware" amount should not be minus.
(2) Do "smem -w -R 2001844kB" (change 2001844kB per your PC, note to
keep it in kB unit) , the "firmware/hardware" amount should not be
minus.

Here's a patch to fix these issues.
2009-05-14 22:08:38 -05:00
capture Add reading from alternate directory and tarball and example capture script 2009-04-06 22:48:01 -07:00
COPYING Add GPLv2+ license and copyright notice 2009-04-30 11:57:52 -05:00
smem [PATCH] physical memory size computing error 2009-05-14 22:08:38 -05:00