Re: [Nautilus-list] RAM size formula ?



I would have thought you just do size_kb / 1024.  How did you get
(size_kb + 500) / 1000 ?

On Thu, 2002-03-21 at 13:46, Glen Gray wrote:
> OK, currently using a KB reading from /proc/meminfo#MemTotal the code
> does the following to work out your RAM
> 
> (size_kb + 500) / 1000
> 
> Whats the recommended way (if any) to work out total ram on a linux box






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]