I know there's top
and htop
commands, but they lack a lot of information. For example there is no way to list processes from Energy tab. Or is there at least some kind of API for Activity Monitor which could be used to develop the desired command line tool?
MacOS – ny command line alternative to Activity Monitor that would yield the same results
activity-monitormacos
Related Question
- MacOS – htop-on-linux like alternative for top / Activity Monitor on OS X
- MacOS – Determine what’s using the ‘system’ cpu in OS X Mavericks
- MacOS – generic approach to finding the correct name to run an app from the command line
- MacOS – way to filter Activity Monitor by unresponsive applications
- MacOS – Why are assigned PID numbers not sequential from 100
- MacOS – Processes in Activity Monitor with gray lettering
Best Answer
A good reference giving insight on the energy tab is given here. It relates it to the Power column of the top command which you can generate by using top command as such:
top -stats pid,command,cpu,idlew,power -o power -d
The power column is not usually displayed due to width of monitor.