diff options
Diffstat (limited to 'mem.sh')
-rwxr-xr-x | mem.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,8 +1,8 @@ #!/bin/bash -export JMNAME='MEM' +export JMNAME='RAM' export JTYPE='linegraph' function trigger { - $CLIENT --add "$JID" $(python -c $'import psutil\nprint psutil.virtual_memory().free*.1/2**20') + $CLIENT --add "$JID" $(python -c $'import psutil\nprint psutil.virtual_memory().percent') } export -f trigger ./monitor_daemon.sh |