identify context switching
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1535 oracle 20 0 22.5g 240m 30m R 100 0.5 0:10.24 oracle_1535_sbc
pid=1535
grep ctxt /proc/$pid/status
voluntary_ctxt_switches: 10395
nonvoluntary_ctxt_switches: 33415
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1535 oracle 20 0 22.5g 240m 30m R 100 0.5 0:10.24 oracle_1535_sbc
pid=1535
grep ctxt /proc/$pid/status
voluntary_ctxt_switches: 10395
nonvoluntary_ctxt_switches: 33415