Supprimer 'dconf/monitor.sh'
This commit is contained in:
parent
1ed8bbcc68
commit
b4b3cf5aff
@ -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"
|
||||
Loading…
x
Reference in New Issue
Block a user