/build/static/layout/Breadcrumb_cap_w.png

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:
Posted by: mpace 11 years ago
Red Belt
3

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
Posted by: jknox 11 years ago
Red Belt
0


Comments:
  • Thanks again! Works great! - mmaiorano25 11 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ