This repo contains the scripts with automation of linux servers
If you are planning to use this Automation script. Thanks!
-
Prerequisites
$ sudo apt-get install python3-pip $ pip install psutil
-
Test High CPU Load & kill the process using python script
$ cd python-automation/high_cpu_load $ bash load.sh & $ python3 kill_process.py
-
Setup CronJob for logrotate
0 0 */15 * * /bin/bash /root/python-script/log-rotate.sh
This project is licensed under the MIT License. You can find the full text of the license in the LICENSE file.