
1. Monitor Disk Usage and Alert if Over 80% #!/bin/bash usage=$(df / | awk 'NR==2 {print $5}' | sed 's/%//') [ "$usage" -gt 80 ] && echo "Disk usage is above 80%! ($usage%)" 2. Clean /tmp Directory Older Than 7 Days #!/bin/bash find /tmp -type f -m...
DevOps Engineer helping with streamline solutions, actively posting my knowledge with practical demonstration daily.
DevOps | Cloud Practitioner | AWS | GIT | Kubernetes | Terraform | ArgoCD | Gitlab
Markdown supported · ⌘↵ to post
No responses yet.