diff --git a/.monitoring.sh.swp b/.monitoring.sh.swp index c295445..f56821f 100644 Binary files a/.monitoring.sh.swp and b/.monitoring.sh.swp differ 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; }' }