blob: e6d93fb29d448c3ef431e3c9770693d2f9972c39 (
plain) (
tree)
|
|
#!/bin/bash
export JMNAME='MEM'
export JTYPE='linegraph'
function trigger {
$CLIENT --add "$JID" $(python -c $'import psutil\nprint psutil.virtual_memory().free*.1/2**20')
}
export -f trigger
./monitor_daemon.sh
|