Monitor GPU usages across multi servers.
# build the server or download it from the release page
go build
# start server with a daemon (here we use pm2)
pm2 start ./server_monitor --name server-monitor -- 80
- Edit the server url in
client.sh
. chmod u+x ./client.sh
.crontab -e
.- Add a new schedule task:
0 * * * * /path/to/client.sh
(run every 1 hour).
- Notify specified people when specified card is available.