To help write that last post, and to keep a record of the details, I wanted to get the model numbers and details of the Mac Minis at the command line. I was sshed in from work to home, and command line was what I had. I did some research and the methods were very easy.
First, to get the model details:
tarim:~ hgriggs$ system_profiler SPHardwareDataType Hardware: Hardware Overview: Model Name: Mac mini Model Identifier: Macmini6,1 Processor Name: Intel Core i5 Processor Speed: 2.5 GHz Number of Processors: 1 Total Number of Cores: 2 L2 Cache (per Core): 256 KB L3 Cache: 3 MB Memory: 4 GB Boot ROM Version: MM61.0106.B04 SMC Version (system): 2.7f1 Serial Number (system): C07ML6ZWDWYL Hardware UUID: CE03C974-9CD7-533E-8C4C-0E2D014C0FC8
to find the description about it, take the last 4 characters of the serial number and use this:
tarim:~ hgriggs$ curl http://support-sp.apple.com/sp/product?cc=DWYL <?xml version="1.0" encoding="utf-8" ?> <root> <name>CPU Name</name> <configCode>Mac mini (Late 2012)</configCode> <locale>en_US</locale> </root>
I took the liberty of tidying the XML output so it's not just one big jumbled line. So now I have a good method for the future of identifying these devices. If I do it on Anne's Mac Mini, I see that she has a "Mac mini (Mid 2010)" aka "Macmini4,1" with 8 gig RAM and a 320 gig hdd. Anne's Mac Mini has been absolutely rock-solid over the years. Never had a single problem with it.