diff --git a/mate/monitor.sh b/mate/monitor.sh deleted file mode 100644 index 10e5a24..0000000 --- a/mate/monitor.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -# This script monitors CPU and memory usage - - # Get the current usage of CPU and memory - cpuUsage=$(top -bn1 | awk '/Cpu/ { print $2}') - memUsage=$(free -m | awk '/Mem/{print $3}') - - # Print the usage - echo "CPU : $cpuUsage% - RAM : $memUsage MB"