SYSTEM_PROFILER(8) | System Manager's Manual | SYSTEM_PROFILER(8) |
system_profiler
—
reports system hardware and software
configuration.
system_profiler |
[-usage ] |
system_profiler |
[-listDataTypes ] |
system_profiler |
[-xml ] dataType1 ...
dataTypeN |
system_profiler |
[-xml ] [-detailLevel
level] |
system_profiler |
[-json ] dataType1 ...
dataTypeN |
system_profiler |
[-json ] [-detailLevel
level] |
system_profiler
reports on the hardware
and software configuration of the system. It can generate plain text reports
or XML reports which can be opened with System Information.app, or JSON
reports
Progress and error messages are printed to stderr while actual report data is printed to stdout. Redirect stderr to /dev/null to suppress progress and error messages.
The following options are available:
-xml
-json
-listDataTypes
-detailLevel
level-timeout
-usage
system_profiler
Generates a text report with the standard detail level.
system_profiler
-detailLevel mini
Generates a short report containing no personal information.
system_profiler
-listDataTypes
Shows a list of the available data types.
system_profiler
SPSoftwareDataType
SPNetworkDataType
Generates a text report containing only software and network data.
system_profiler
-xml > MyReport.spx
Creates a XML file which can be opened by System Profiler.app
Apple Inc.
June 30, 2003 | Darwin |