mirror of
https://gitlab.sectorq.eu/jaydee/mqtt_srv.git
synced 2025-12-14 18:44:53 +01:00
bitwarden
This commit is contained in:
@@ -835,6 +835,7 @@ def on_message(client, userdata, msg):
|
|||||||
status, output = subprocess.getstatusoutput(cmnd)
|
status, output = subprocess.getstatusoutput(cmnd)
|
||||||
print(output)
|
print(output)
|
||||||
print(status)
|
print(status)
|
||||||
|
writeLog(cmnd)
|
||||||
if myObj["cmd"] == "stats":
|
if myObj["cmd"] == "stats":
|
||||||
grep = subprocess.Popen(['grep', 'cpu', '/proc/stat'],
|
grep = subprocess.Popen(['grep', 'cpu', '/proc/stat'],
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
|
|||||||
Reference in New Issue
Block a user