Terminal command to show RAM type and Speed
Looking to make a custom inventory field to display this info
0 Comments
[ + ] Show comments
Answers (2)
Answer Summary:
Please log in to answer
Posted by:
mpace
11 years ago
The terminal command would be
system_profiler SPMemoryDataType
Comments:
-
You could probably use grep or awk to pare it down, but assuming you were talking about a K1000, the custom inventory rule would be something like:
ShellCommandTextReturn(system_profiler SPMemoryDataType)
This shows some other options when using system_profiler: http://macstuff.beachdogs.org/blog/?p=21 - jknox 11 years ago-
Thanks jknox that worked! It is with the k1000, it outputs it to a script log, are you familiar with how to have it dump the results into a custom inventory field? - mmaiorano25 11 years ago
-
If you created a dummy software inventory item for it, it would display on the computer's inventory page under Software>Custom Inventory Field. See below. (the results will look a little different for a physical machine, that was a Mountain Lion VM.) - jknox 11 years ago
-
it was very informative page thanks - lefty80 11 years ago