Skip to content
Snippets Groups Projects
Commit f3884a1a authored by David Huss's avatar David Huss :speech_balloon:
Browse files

Hopefully fix load

parent f98f0bf8
Branches
Tags v0.1.16
No related merge requests found
......@@ -217,7 +217,7 @@ def meetings_twolines(config: Config, watch: int, fancy: bool):
if config.on_server:
# If on server get load
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 = [
"{} rec / ses ppl mod vid mic ear lod".format(endpoint.name[:3]),
"stats {:>2} / {:<2} {:>3} {:>3} {:>3} {:>3} {:>3} {:.1f}"\
......
[tool.poetry]
name = "bbbmon"
version = "0.1.15"
version = "0.1.16"
description = "A small CLI utility to monitor bbb usage"
authors = ["David Huss <david.huss@hfbk-hamburg.de>"]
maintainers = ["David Huss <david.huss@hfbk-hamburg.de>"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment