This launch agent will automatically start a glances web server
- Install Homebrew.
- Install
glances
. Executebrew install glances
. - Copy the
.plist
file in this gist into~/Library/LaunchAgents/
. - EDIT the
.plist
: change/Users/boneskull/
to/Users/<you>/
- Execute
launchctl load ~/Library/LaunchAgents/com.boneskull.glances-web.plist
. Do not run this command with superuser privileges.
- You can also just install
glances
viapip3
if you have it. - This may be better installed as a global daemon instead of a user agent.
@iamronr At the time this was written, homebrew installed executables into
/usr/local/bin
, but now I think it's/opt/homebrew/bin
. You'll need to change that path and also the path to the logs (replaceboneskull
with your username)