Home > OS >  For Linux context switch frequently solutions
For Linux context switch frequently solutions

Time:11-01

System requires frequent call popen (CMD), check the vmstat, context switching frequency is 1 w +/s,
Thus, influence the performance of the system, the great spirit to guide the optimization method, genuflect is begged

CodePudding user response:

This information can be from
The/proc/meminfo
The/proc/stat
The/proc/*/stat
A location acquisition, write a special function
  • Related