Re: Memory detection

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

 



Once upon a time, Michael Blandford <mlblandf@xxxxxxxxxxxxxxxxxxx> said:
> Can anyone suggest a reliable method of detecting the amount of memory 
> is in an ia32 machine during the install when it is running the -BOOT 
> kernel?

Let anaconda figure it out for you! :-)

%pre
ram=`python <<EOF
import sys
sys.path.append('/usr/lib/anaconda')
import iutil
sizekB = iutil.memInstalled(1)
print sizekB
EOF
`

I think it uses the proper methods, whatever they may be.
-- 
Chris Adams <cmadams@xxxxxxxxxx>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.




[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux