Philip Withnall commented:
OK, here’s the service and timer file which I’ve written. They should be
self-contained and can just be dropped into `/etc/systemd/system`, then
`systemctl daemon-reload; systemctl enable --now co2-stats.{service,timer}`.
The timer runs every 30 minutes and the output is appended to
`/var/log/$(hostname).co2-stats.json`. That’s the file I’ll need at the end of
it all. Every log entry basically contains the output of `date`, `uptime` and
`ifstat`.
Would it be possible to run the same service on the 4 pods and the database
server? If the service starts now, then that’ll give several days of baseline
usage data before GUADEC starts, so a comparison will be possible afterwards.
Thanks! :slight_smile:
[co2-stats.service](/uploads/a448edf0ad6c4de0633a531830eae286/co2-stats.service)
[co2-stats.timer](/uploads/d3cde167ead2af06c7c48d1a512a033e/co2-stats.timer)
--
Reply to this email directly or view it on GitLab:
https://gitlab.gnome.org/Infrastructure/Infrastructure/-/issues/372#note_866309
You're receiving this email because of your account on gitlab.gnome.org.
_______________________________________________
gnome-infrastructure mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gnome-infrastructure