Re: RAM Location and Size in 64bits Machines
Re: RAM Location and Size in 64bits Machines
- Subject: Re: RAM Location and Size in 64bits Machines
- From: Fabio <email@hidden>
- Date: Mon, 23 May 2005 19:50:46 +0200
This is what is displayed on a dual 1.8-G5:
+-o memory@0,0 <class IOService, !registered, !matched, active, busy
0, retain count 4>
| {
| "device_type" = <"memory">
| "bank-sizes" = <" ">
| "ram-layout-architecture" = <00000001>
(...)
As you see, the property is empty. The G5 is running 10.39 :-(
Thanks!
Fabio
I don't know about the issue of the bank-size property not being
present. However, this script does work on dual G5 machines
(xserves and powermacs) running tiger and panther (tested on OS X
versions 10.4, 10.3.9, 10.3.8).
Anywho good luck with your problem,
Geoff Zelenka
On May 23, 2005, at 1:02 PM, Fabio wrote:
Hi !
Thank you!
But the bank-size property is not always present, I think it
depends on the system version and the machine type.
And sometimes the "bank-size" property is present but it is empty,
I think we cannot rely on it.
And unfortunately your script won't work on dual-cpu machines for
the reasons I mentioned before.
When it is present, the only difference between the "bank-size"
and the "reg" property is that "reg" is 4 bytes, and bank-sizes is
8 bytes.
At the present time, I look for the "bank-size" property and if it
is empty or not present I use the "Reg" property...
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden