linux 程序狀態
阿新 • • 發佈:2018-12-12
"Binder:1643_E" prio=5 tid=106 Native | group="main" sCount=1 dsCount=0 obj=0x16034ee0 self=0x7f5769d200 | sysTid=3830 nice=0 cgrp=default sched=0/0 handle=0x7f57011450 | state=S schedstat=( 55240327051 46479005756 202120 ) utm=3816 stm=1708 core=0 HZ=100 | stack=0x7f56f17000-0x7f56f19000 stackSize=1005KB | held mutexes= kernel: __switch_to+0x94/0xa0 kernel: futex_wait_queue_me+0xcc/0x124 kernel: futex_wait+0xec/0x200 kernel: do_futex+0xcc/0x47c kernel: SyS_futex+0xf0/0x168 kernel: el0_svc_naked+0x24/0x28 native: #00 pc 000000000001beec /system/lib64/libc.so (syscall+28) native: #01 pc 0000000000076730 /system/lib64/libc.so (_ZL33__pthread_mutex_lock_with_timeoutP24pthread_mutex_internal_tbPK8timespec+260) native: #02 pc 000000000001f268 /system/lib64/libsensorservice.so (???) native: #03 pc 0000000000076f7c /system/lib64/libgui.so (_ZN7android14BnSensorServer10onTransactEjRKNS_6ParcelEPS1_j+660) native: #04 pc 000000000004a170 /system/lib64/libbinder.so (_ZN7android7BBinder8transactEjRKNS_6ParcelEPS1_j+132) native: #05 pc 00000000000561a4 /system/lib64/libbinder.so (_ZN7android14IPCThreadState14executeCommandEi+1000) native: #06 pc 0000000000055d00 /system/lib64/libbinder.so (_ZN7android14IPCThreadState20getAndExecuteCommandEv+156) native: #07 pc 00000000000563f8 /system/lib64/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb+128) native: #08 pc 00000000000747e4 /system/lib64/libbinder.so (???) native: #09 pc 0000000000012938 /system/lib64/libutils.so (_ZN7android6Thread11_threadLoopEPv+336) native: #10 pc 00000000000a0c88 /system/lib64/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+116) native: #11 pc 0000000000075c54 /system/lib64/libc.so (_ZL15__pthread_startPv+204) native: #12 pc 000000000001e0fc /system/lib64/libc.so (__start_thread+16) (no managed stack frames)
state=S schedstat=( 55240327051 46479005756 202120 ) utm=3816 stm=1708 core=0 HZ=100 1 2 3 4 5 6 7
1.當前執行緒在cpu上消耗的時間 2.當前任務在cpu任務輪循中等待時間 3.當前執行緒在這個cpu上執行的次數 4.當前執行緒在使用者態執行時間 5.當前執行緒在核心態執行的時間 6.當前執行緒在哪個核心上執行 7.頻率
unix系的程序狀態: D uninterruptible sleep (usually IO) R running or runnable (on run queue) S interruptible sleep (waiting for an event to complete) T stopped by job control signalt stopped by debugger during the tracing W paging (not valid since the 2.6.xx kernel) X dead (should never be seen) Z defunct ("zombie") process, terminated but not reaped by its parent