Supprimer 'mate/monitor.sh'

This commit is contained in:
wilou 2023-01-27 21:30:34 +00:00
parent f5e0771387
commit fba643544d

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"