No description
- Python 97.7%
- Shell 2.3%
| .gitignore | ||
| log_labs.py | ||
| README.md | ||
| template.env | ||
| template.log_lab_machines.service | ||
| template.log_lab_machines.timer | ||
Lab Machine Data Gatherer
This set of scripts setup up a recurring process to ssh into the University of Alberta lab machines, and record how much they're being used. You should be able to notice trends in the data after some time, including finding out which machines aren't really being used much.
The following data is recorded:
- The number of distinct users on the machine
- The load averages
- The memory usage in KB
To run the script, you'll need to setup a few environment variables. Copy
template.env to .env and fill them in. The SSH_KEY variable is the
absolute path to your ssh key.
To automatically run with systemd timers, a better version of chron, edit the
.service and .timer template and put the copies in /etc/systemd/system.
Do not abuse this script. The load from making the connections is very light, though still don't abuse it.