mirror of https://gitee.com/anolis/sysom.git
parent
716ad0e046
commit
bebcc50da8
|
@ -178,9 +178,9 @@ def parse_log(file):
|
|||
if int(float(count["uninterrupt tasks"])) >= 5:
|
||||
new_parse_data["summary"]["suggestion"] = "D task counts is more than 5,please analyse calltrace of tasks by D task pie chart"
|
||||
|
||||
if reason["sys"] == "false" and reason["irq"] == "false" and reason["softirq"] == "false" and reason["io"] == "false"
|
||||
if reason["sys"] == "false" and reason["irq"] == "false" and reason["softirq"] == "false" and reason["io"] == "false":
|
||||
new_parse_data["summary"]["status"] = "normal"
|
||||
else
|
||||
else:
|
||||
new_parse_data["summary"]["status"] = "warning"
|
||||
|
||||
new_parse_data["summary"]["cause"] = "Load Influences Result:"+"sys utils" + sys_summary + \
|
||||
|
|
Loading…
Reference in New Issue