Re: Finding Installed Memory Total
Re: Finding Installed Memory Total
- Subject: Re: Finding Installed Memory Total
- From: Andrew Oliver <email@hidden>
- Date: Wed, 16 Jul 2003 21:46:05 -0700
Try:
do shell script "sysctl -a hw.physmem"
--> hw.physmem = 536870912
set totMem to last word of result
On 7/16/03 8:46 PM, "Johnny AppleScript" <email@hidden> wrote:
>
OK, looked again at top; now working with the following:
>
>
set a to do shell script "top -l1 | grep PhysMem"
>
-->"PhysMem: 120M wired, 906M active, 480M inactive, 1.47G used, 30.8M
>
free"
>
>
I just need to equalize the last to values and add them.
>
>
I'd still love a better Terminal command that just returns a total value.
>
>
JA
>
_______________________________________________
>
applescript-users mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/applescript-users
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.