Difference between revisions of "System profiler --help"

From wikieduonline
Jump to navigation Jump to search
(Created page with "<pre> system_profiler --help Usage: system_profiler [-listDataTypes] system_profiler [-xml | -json] [-timeout n] [-detailLevel n] system_profiler [-xml | -json]...")
 
Line 1: Line 1:
 +
{{lowercase}}
 
<pre>
 
<pre>
 
system_profiler --help
 
system_profiler --help

Revision as of 13:39, 8 November 2021

system_profiler --help
Usage: system_profiler [-listDataTypes]
       system_profiler [-xml | -json] [-timeout n] [-detailLevel n]
       system_profiler [-xml | -json] [-timeout n] [dataType1 ... dataTypeN]

  -detailLevel n    specifies the level of detail for the report
                      mini = short report (contains no identifying or personal information)
                      basic = basic hardware and network information
                      full = all available information

  -listDataTypes    lists all the available datatypes

  -xml              generates xml output instead of plain text
                    if redirected to a file with the extension ".spx"
                    the file can be opened in System Profiler.app

  -json             generates json output instead of plain text

  -timeout          specifies the maximum time to spend gathering information
                    the default is 180 seconds, 0 means no timeout

  Redirect stderr to /dev/null to suppress progress and error messages.

Examples:

  system_profiler
     Generates a text report with the standard detail level.

  system_profiler -detailLevel mini
     Generates a short report without identifying/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 >MySystem.spx
     Creates a XML file which can be opened by System Profiler.app

macOS: macOS versions, iTerm2, Homebrew, FileVault, System Integrity Protection, dscacheutil, networksetup, XNU kernel, APFS, diskutil, mdfind, Keychain Access, Growl, Activity Monitor, sidecar, macOS FHS, Apple Notification Center, sw_vers, Spotlight, pbcopy, MacOS application firewall, Applesimutils, Automatic login, security (command), codesign, spctl, Alfred, Xcode, system_profiler, log show, MacOS Preview, Rectangle app, Finder, macOS: Shortcuts, SEP, osascript, macOS profile, UTM, softwareupdate, systemsetup, pmset , macOS tips, macOS Dock, Automator, SIP, System Preferences, installer, cryptex, AirPlay, macOs first setup, Universal Control

Advertising: