Command: sar -w cswch/s Total number of context switches per second. A context switch is the switching of the CPU from one process or thread to another such that multiple processes can share a single CPU resource.