Skip to content

Commit

Permalink
Update collectdata.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
mtoensing committed Aug 17, 2019
1 parent 742628e commit d295429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collectdata.sh
@@ -1,7 +1,7 @@
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"

python3 $DIR/dwh-proxy.py writemctps "docker exec -i mcserver rcon-cli --host localhost --port 25575 --password netherrack tps | sed -e 's/[^0-9., ]*//g' -e 's/ \+/ /g'"
python3 $DIR/dwh-proxy.py writemctps "docker exec -i mcserver rcon-cli --host localhost --port 25575 --password mypass tps | sed -e 's/[^0-9., ]*//g' -e 's/ \+/ /g'"
python3 $DIR/dwh-proxy.py writemccpu "docker stats mcserver --no-stream --format '{{.CPUPerc}}'"
python3 $DIR/dwh-proxy.py writemcmem "docker stats mcserver --no-stream --format '{{.MemPerc}}'"

Expand Down

0 comments on commit d295429

Please sign in to comment.