LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   High cs value in vmstat (https://www.linuxquestions.org/questions/linux-software-2/high-cs-value-in-vmstat-4175591469/)

QWE123 10-15-2016 11:22 AM

High cs value in vmstat
 
I use vmstat to find that the cs value is very high , especially when have user login via openldap , the cs value will be very high ( over 20000 ) , would advise is there any method to fix it ?

thanks

TB0ne 10-15-2016 11:36 AM

Quote:

Originally Posted by QWE123 (Post 5618361)
I use vmstat to find that the cs value is very high , especially when have user login via openldap , the cs value will be very high ( over 20000 ) , would advise is there any method to fix it ?

Again, as you've been asked several times in the past, you need to PROVIDE DETAILS. You tell us absolutely NOTHING about your system, what it's running, the environment, etc. We can't guess.

Did you look up what the cs value actually is, and what it does? "cs" is "context switches", which is basically the CPU switching tasks. It's normal for this value to be high, since this happens hundreds of times a second, as part of normal system functioning. Busy systems = large cs counter. Want it lower? Then stop running some things on your system.


All times are GMT -5. The time now is 04:39 PM.