Useful macOS defaults: Activity Monitor
com.apple.ActivityMonitor controls how Activity Monitor displays system information.
After changing these, quit and reopen Activity Monitor.
Show all processes
By default, Activity Monitor shows only your own processes. To show every process on the system:
defaults write com.apple.ActivityMonitor ShowCategory -int 100
Values:
100= all processes101= all processes, hierarchically (shows parent-child relationships)102= my processes103= system processes104= other user processes105= active processes106= inactive processes107= windowed processes
Set the Dock icon to show CPU usage
The Activity Monitor Dock icon can show a live graph. Set what it displays:
defaults write com.apple.ActivityMonitor IconType -int 5
Values:
0= application icon (the default)2= network usage3= disk activity5= CPU usage6= CPU history (shows all cores)
The CPU history option is popular. It turns the Dock icon into a small live CPU graph showing each core.
Set the update frequency
How often Activity Monitor refreshes its data:
defaults write com.apple.ActivityMonitor UpdatePeriod -int 1
Values:
1= very often (every second)2= often (every two seconds)5= normally (every five seconds)
More frequent updates use slightly more CPU.
Open a specific tab by default
Set which tab Activity Monitor shows when it opens:
defaults write com.apple.ActivityMonitor SelectedTab -int 0
Values:
0= CPU1= Memory2= Energy3= Disk4= Network5= Cache (if Content Caching is turned on)
Read all current Activity Monitor settings
defaults read com.apple.ActivityMonitor
Enjoyed this post?
Well, you could share the post with others, follow me with RSS Feeds and/or send me a comment via email.
Tags
Category:
Tags:
Year: