Linux Per-Process CPU Runtime Statistics: Difference between revisions
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
total-time-proc = [[/proc/pid/stat#Field_14_-_utime|utime]] + [[/proc/pid/stat#Field_15_-_stime|stime]] | total-time-proc = [[/proc/pid/stat#Field_14_-_utime|utime]] + [[/proc/pid/stat#Field_15_-_stime|stime]] | ||
If we want to include time from children processes: | |||
total-time-proc-plus-children = total-time-proc + [[/proc/pid/stat#Field_16_-_cutime|cutime]] + [[/proc/pid/stat#Field_17_-_cstime|cstime]]. |