From ea5b6014855c03427e27d5591316ca2cc34781b8 Mon Sep 17 00:00:00 2001 From: gbaconni Date: Thu, 4 Nov 2021 18:20:38 +0100 Subject: [PATCH] 2021-11-04 18:20:38 --- .monitoring.sh.swp | Bin 12288 -> 12288 bytes monitoring.sh | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.monitoring.sh.swp b/.monitoring.sh.swp index c295445687c9a562d60706ec452d6bfb558f67a1..f56821f796d052bbc76de503679fd8bb0130db48 100644 GIT binary patch delta 444 zcmWN}K`2839LMqh-t+cM4oZ#f;+2t{&u+(-cWyGsgEc8TP%h#aPnfes&<(F7MXJUK=7k$?}4_|QaN@PK>V;RaV&M-p*F z(2ExM;n8M@a(?SXe(;GmJmV3!xWoyLu!l0XQN$AFU?PQaj9~;ZL}B1ht=L;iX){=> Z4up1{%3Afc!*Xank$yc~9qOz({sB7iMN|L) diff --git a/monitoring.sh b/monitoring.sh index 55ae22f..a565c75 100755 --- a/monitoring.sh +++ b/monitoring.sh @@ -6,7 +6,7 @@ # By: gbaconni@student.42lausanne.ch +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2021/11/04 12:36:53 by gbaconni #+# #+# # -# Updated: 2021/11/04 18:19:42 by gbaconni ### lausanne.ch # +# Updated: 2021/11/04 18:20:34 by gbaconni ### lausanne.ch # # # # **************************************************************************** # @@ -30,7 +30,7 @@ ft_memory () ft_disk () { - df --total -Bm -T -l -x tmpfs -x devtmpfs | \ + df --total -Bm -T -l -x tmpfs -x devtmpfs \ | awk '/^total/ { total=int($3); used=int($4); pcent=int($6) } END { printf "#Disk Usage: %d/%dGb (%.2f%%)\n", used, total / 1000, pcent; }' }