From b4b3cf5affeae4a0791a75ab2f93792c1cbb8b41 Mon Sep 17 00:00:00 2001 From: wilou Date: Fri, 17 Mar 2023 07:29:35 +0000 Subject: [PATCH] Supprimer 'dconf/monitor.sh' --- dconf/monitor.sh | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 dconf/monitor.sh diff --git a/dconf/monitor.sh b/dconf/monitor.sh deleted file mode 100644 index 10e5a24..0000000 --- a/dconf/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"