refactor stat_monitor

This commit is contained in:
hardy
2021-10-12 16:06:41 +02:00
parent dd8a0798a7
commit 90eb329da9
3 changed files with 91 additions and 1 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ if __name__ == "__main__":
d['mcs']=[]
cmd='ps aux | grep mode | grep -v grep'
cmd='ps aux | grep modem | grep -v grep'
process=subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE)
output = process.stdout.readlines()
while len(output)!=0 :