You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Marc Thielemann edited this page Jul 21, 2025
·
13 revisions
What is the purpose of the --noGUI command?
The --noGUI command is used to run Power Monitor in a scenario similar to a command-line tool, allowing you to access and utilize its features without launching the graphical user interface (GUI).
You can run this by executing the following command in a Terminal session /Applications/Power\ Monitor.app/Contents/MacOS/Power\ Monitor --noGUI
Can I run the --noGUI mode of Power Monitor in conjunction with the GUI version?
Yes, you can use both the non-GUI and GUI versions of Power Monitor simultaneously. The non-GUI version provides additional flexibility for automation and scripting, while the GUI version offers a more interactive user experience.
What are the values that you can get via the --noGUI mode?
You can get the following values via the command-line
Average system power (in W) as a number with two decimals places
Number of measurements as a number
Country code as an ISO country codes (alpha-2 code)
Precise location as a boolean
Carbon footprint (in gCO2eq/h) as a number with two decimals places or unavailable if no CO2 data is calculated
Please run the app with the --help argument to get a detailed list of all available options.
How can I reset the collected power consumption data?
Click the Delete all measurements button in the app's settings.
How can I reset the API key that is used for the carbon footprint collection?
You can delete the stored application password of the app in the user's login Keychain corp.sap.PowerMonitor. This resets the API key.
Are there any advanced use cases for the --noGUI mode of Power Monitor?
Absolutely! The --noGUI mode allows for advanced scripting and automation, making it useful for tasks like scheduling energy monitoring, integrating with other software, or collecting data for analysis. For an example of using the --noGUI mode for collecting data for analysis, please see this example Jamf Pro extension attribute.