Mentions légales du service

Skip to content
Snippets Groups Projects
Commit a9a29a17 authored by Kevin Pouget's avatar Kevin Pouget
Browse files

change the fault count to major, instead of minor

parent fe65d888
No related branches found
No related tags found
No related merge requests found
...@@ -108,7 +108,7 @@ class proc_stat_info(proc_info): ...@@ -108,7 +108,7 @@ class proc_stat_info(proc_info):
def __init__(self): def __init__(self):
proc_info.__init__(self) proc_info.__init__(self)
self.filename = "/proc/{}/stat" self.filename = "/proc/{}/stat"
self.results = {"utime":0, "stime":0, "min_flt":0} self.results = {"utime":0, "stime":0, "maj_flt":0}
def parse(self): def parse(self):
KEYS = ["pid", "tcomm", "state", "ppid", "pgid", "sid", KEYS = ["pid", "tcomm", "state", "ppid", "pgid", "sid",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment