I have a mysql database running on solaris, from mpstat, I could see a thread has very high ithr and high sys cpu. How can I find where the ithr comes from and why the sys cpu is relatively high?
CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl
0 0 0 0 440 146 269 1 17 52 0 833 0 1 0 99 .......................................................................
7 0 0 0 19798 19738 914 22 4 242 0 3569 5 14 0 81 ........................................................................
15 0 0 0 1005 0 2035 2 0 52 0 8912 12 3 0 85
CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl
0 0 0 0 632 143 678 1 26 46 0 2243 4 2 0 94 ........................................................................
7 0 0 0 21068 20978 1409 27 9 276 0 5591 9 15 0 76
.................................................................
15 0 0 0 531 0 1071 2 2 45 0 4707 7 2 0 91