1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-31 00:17:56 +01:00
tldr/pages/osx/system_profiler.md
2016-01-08 09:38:59 +01:00

421 B

system_profiler

Report system hardware and software configuration.

  • Display a full system profiler report which can be opened by System Profiler.app:

system_profiler -xml > MyReport.spx

  • Display a hardware overview (Model, CPU, Memory, Serial, etc):

system_profiler SPHardwareDataType

  • Print the system serial number:

system_profiler SPHardwareDataType|grep "Serial Number (system)" |awk '{print $4}'