Supprimer 'mate/monitor.sh'

This commit is contained in:
wilou 2023-02-26 11:25:41 +00:00
parent d06bc925d3
commit 33b0f6d346

View File

@ -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"