mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 11:25:16 +08:00
system_profiler: add wattage report (#21617)
This commit is contained in:
@@ -18,3 +18,7 @@
|
||||
- Print the system serial number:
|
||||
|
||||
`system_profiler SPHardwareDataType|grep "Serial Number (system)" | awk '{ print $4 }'`
|
||||
|
||||
- Display the negotiated max wattage of the connected charger and cable:
|
||||
|
||||
`system_profiler SPPowerDataType | awk '/Wattage/ {print $3}'`
|
||||
|
||||
Reference in New Issue
Block a user