blob: e8a3df6bb8fbf5ee47e742f768de9b8e1c8230aa (
plain) (
tree)
|
|
#!/bin/bash
export JMNAME='RAM'
export JTYPE='linegraph'
function trigger {
$CLIENT --add "$JID" $(python -c $'import psutil\nprint psutil.virtual_memory().percent')
}
export -f trigger
./monitor_daemon.sh
|