Commit f3884a1a authored by David Huss's avatar David Huss 💬
Browse files

Hopefully fix load

parent f98f0bf8
...@@ -217,7 +217,7 @@ def meetings_twolines(config: Config, watch: int, fancy: bool): ...@@ -217,7 +217,7 @@ def meetings_twolines(config: Config, watch: int, fancy: bool):
if config.on_server: if config.on_server:
# If on server get load # If on server get load
w = subprocess.run(["w | head -1 | awk '{print $10}' | sed -e 's/,$//'"], shell=True, stdout=subprocess.PIPE) w = subprocess.run(["w | head -1 | awk '{print $10}' | sed -e 's/,$//'"], shell=True, stdout=subprocess.PIPE)
w = float(w.stdout.decode('utf-8')) w = float(w.stdout.decode('utf-8').strip().replace(",", "."))
lines = [ lines = [
"{} rec / ses ppl mod vid mic ear lod".format(endpoint.name[:3]), "{} rec / ses ppl mod vid mic ear lod".format(endpoint.name[:3]),
"stats {:>2} / {:<2} {:>3} {:>3} {:>3} {:>3} {:>3} {:.1f}"\ "stats {:>2} / {:<2} {:>3} {:>3} {:>3} {:>3} {:>3} {:.1f}"\
......
[tool.poetry] [tool.poetry]
name = "bbbmon" name = "bbbmon"
version = "0.1.15" version = "0.1.16"
description = "A small CLI utility to monitor bbb usage" description = "A small CLI utility to monitor bbb usage"
authors = ["David Huss <david.huss@hfbk-hamburg.de>"] authors = ["David Huss <david.huss@hfbk-hamburg.de>"]
maintainers = ["David Huss <david.huss@hfbk-hamburg.de>"] maintainers = ["David Huss <david.huss@hfbk-hamburg.de>"]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment