Linux Per-Process CPU Runtime Statistics: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 9: Line 9:


=Overview=
=Overview=
To determine total time spend by the process in user and kernel modes:
total-time-proc = [[/proc/pid/stat#Field_14_-_utime|utime]] + [[/proc/pid/stat#Field_15_-_stime|stime]]

Revision as of 00:53, 2 March 2018

External

Internal

Overview

To determine total time spend by the process in user and kernel modes:

total-time-proc = utime + stime