Skip to content

Instantly share code, notes, and snippets.

@rickychilcott
Created March 16, 2011 20:50
Show Gist options
  • Save rickychilcott/873274 to your computer and use it in GitHub Desktop.
Save rickychilcott/873274 to your computer and use it in GitHub Desktop.
Ways to use system profiler on a mac to get information about your system
#Full output of system_profiler
system_profiler -xml -detailLevel full > ~/Desktop/full.spx
#Network and Hardware specific data found in system_profiler
system_profiler -xml SPNetworkDataType SPHardwareDataType > ~/Desktop/network_hardware.spx
#Only software registered on the system
system_profiler -detailLevel full -xml SPApplicationsDataType > ~/Desktop/software.spx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment