0

Where can I see these metrics of explanation?

cpu_ctxt, cpu_intr, cpu_sintr, cpu_aidle, cpu_steal

Cœur
  • 37,241
  • 25
  • 195
  • 267
Zephyr Guo
  • 1,083
  • 1
  • 8
  • 14

1 Answers1

0

I would assume that cpu_ctxt represents the number of context switches as reported by /proc/stat (see manpage) or vmstat (csfield).

Also, man top reveals the meaning of the other metrics:

       us, user    : time running un-niced user processes
       sy, system  : time running kernel processes
       ni, nice    : time running niced user processes
       id, idle    : time spent in the kernel idle handler
       wa, IO-wait : time waiting for I/O completion
       hi : time spent servicing hardware interrupts
       si : time spent servicing software interrupts
       st : time stolen from this vm by the hypervisor

where:

  • cpu_intr maps to hi
  • cpu_sintr maps to si
  • cpu_aidle maps to id
  • cpu_steal maps to st

Also see this and this answer.

andreee
  • 4,459
  • 22
  • 42