diff options
author | Determinant <ted.sybil@gmail.com> | 2014-12-28 20:14:52 +0800 |
---|---|---|
committer | Determinant <ted.sybil@gmail.com> | 2014-12-28 20:14:52 +0800 |
commit | 5dc3a3b043a990fc58a4ead74c2c5c92e910727d (patch) | |
tree | 6b3820afa2407a5d77fb888346de9a093ef6576c /mem.sh | |
parent | 1759c270db273939feeff5b241e9143cb067aa32 (diff) |
let svg linegraph to auto adjust for its y-axis
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 |