Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

SystemInfo.MachoArchInfo

Queries Macho Architecture Info.

Component Version macOS Windows Linux Server iOS SDK
SystemInfo 10.5 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ✅ Yes
MBS( "SystemInfo.MachoArchInfo" )

Parameters

none

Result

Returns JSON or error.

Description

Queries Macho Architecture Info.
See also SystemInfo.isTranslated function.

See SystemInfo.WindowsSystemInfo function for similar information for macOS.

Examples

Query it on macOS with recent Intel MacBook Pro:

MBS("SystemInfo.MachoArchInfo")

Example result:
{ "byteorder" : 1, "cpusubtype" : 8, "description" : "Intel x86-64h Haswell", "name" : "x86_64h", "cputype" : 7 }

Query it on macOS in Rosetta 2 on an Apple Silicon Mac:

MBS("SystemInfo.MachoArchInfo")

Example result:
{ "byteorder" : 1, "cpusubtype" : 4, "description" : "Intel 80486", "name" : "i486", "cputype" : 7 }

See also

Release notes

Blog Entries

This function is free to use.

Created 12nd November 2020, last changed 28th January 2023


SystemInfo.MacVRAMSize - SystemInfo.NetworkStats