From 33b0f6d3465b13eeb654d29fbccc28172c66fb95 Mon Sep 17 00:00:00 2001 From: wilou Date: Sun, 26 Feb 2023 11:25:41 +0000 Subject: [PATCH] Supprimer 'mate/monitor.sh' --- mate/monitor.sh | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 mate/monitor.sh 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"