/proc/pid/stat: Difference between revisions

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


=Content=
=Content=
/proc/[PID]/stat
#14 utime - CPU time spent in user code, measured in clock ticks
#15 stime - CPU time spent in kernel code, measured in clock ticks
#16 cutime - Waited-for children's CPU time spent in user code (in clock ticks)
#17 cstime - Waited-for children's CPU time spent in kernel code (in clock ticks)
#22 starttime - Time when the process started, measured in clock ticks

Revision as of 22:38, 1 March 2018

Internal

Overview

Example

Content

/proc/[PID]/stat

  1. 14 utime - CPU time spent in user code, measured in clock ticks
  2. 15 stime - CPU time spent in kernel code, measured in clock ticks
  3. 16 cutime - Waited-for children's CPU time spent in user code (in clock ticks)
  4. 17 cstime - Waited-for children's CPU time spent in kernel code (in clock ticks)
  5. 22 starttime - Time when the process started, measured in clock ticks