TWiki
>
TestNewSandbox Web
>
TWikiUsers
>
StephenNickerson
>
StephenNickersonSandbox
>
GetMacModelInfo
(2018-08-29,
StephenNickerson
)
(raw view)
E
dit
A
ttach
To get a description of the Mac you can use the following command. =/usr/libexec/PlistBuddy -c "Print :`sysctl -n hw.model`:_LOCALIZABLE_:description" "/System/Library/PrivateFrameworks/ServerInformation.framework/Resources/English.lproj/SIMachineAttributes.plist"= Example output: =Mac mini with quad-core i7 and Intel HD Graphics 4000, introduced late 2012.= The following command can provide the Mac model information, including its "era" (example: Mac mini (Late 2012)) =/usr/libexec/PlistBuddy -c "Print :`sysctl -n hw.model`:_LOCALIZABLE_:marketingModel" "/System/Library/PrivateFrameworks/ServerInformation.framework/Resources/English.lproj/SIMachineAttributes.plist"=
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2018-08-29
-
StephenNickerson
TestNewSandbox
TestNewSandbox Web
TestNewSandbox Web Home
Changes
Index
Search
Webs
AIMAS
CERAS
CF
CrySP
External
Faqtest
HCI
Himrod
ISG
Main
Multicore
Sandbox
TWiki
TestNewSandbox
TestWebS
UW
My links
People
CERAS
WatForm
Tetherless lab
Ubuntu Main.HowTo
eDocs
RGG NE notes
RGG
CS infrastructure
Grad images
Edit
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback