English 中文(简体)
• 如何在“i”上看到所有的read子。
原标题:How to view all running threads on the iPhone

我想知道,如何看看一看所有线人。 我知道,气温系统和安乐有一条“顶——t”的指令,但并不在Pi。

PS: 我正在担任一个监狱事务协调员,我的申请可以扎根。

任何帮助都受到高度赞赏!

问题回答

产出从:

    ps -eM

我的六氯环己烷机器似乎不支持<代码>top -t,因此我无法确定您所期望的每读数据。 产出的头几行(从第十期)如下:

    $ ps -eM
    USER             PID   TT   %CPU STAT PRI     STIME     UTIME COMMAND
    root               1   ??    0.0 S    31T   0:22.78   0:12.34 /sbin/launchd
                       1         0.0 S    31T   0:01.97   0:00.27 
                       1         0.0 S    31T  36:19.72   0:00.42 
    root              17   ??    0.0 S    31T   0:10.79   0:15.90 /usr/libexec/kextd
                      17         0.0 S    33T   0:01.14   0:00.26 
    root              18   ??    0.0 S    31T   0:00.46   0:01.33 /usr/libexec/UserEventAgent -l System
                      18         0.0 S    33T   0:01.85   0:00.44 
                      18         0.0 S    31T   0:00.24   0:00.30 
                      18         0.0 S    31T   0:00.00   0:00.00 
                      18         0.0 S    31T   0:00.00   0:00.00 
                      18         0.0 S    31T   0:00.00   0:00.00 
    _mdnsresponder    19   ??    0.0 S    31T   0:05.70   0:02.21 /usr/sbin/mDNSResponder -launchd
                      19         0.0 S    33T   0:01.14   0:00.26 
                      19         0.1 S    31T   0:30.75   0:29.55 




相关问题
How do I check if a thread is terminated when using pthread?

How do I check if a thread is terminated? In my case, I have my_pthread[5] and I want to check if any of 5 threads has finished its job (is terminated? - I m not sure) then I can give them more work ...

example of thread specific data in C

Does anybody know of (or can post) an example of the use of thread-specific data? I m looking for something that s clearly explained and easy to understand. I ve got a global char * variable that I m ...

core dump in a multithread program

i was trying to write a simple multithreaded program. It is dumping the core. I have my function that is called when a thread is created below: void *BusyWork(void *t) { int i; int *tid; int ...

uniprocessor or multiprocessor

On unix, how could we know whether the system is multiprocessor or uniprocessor?

Implementing a Priority queue with a Condition Variable in C

My current understanding of condition variables is that all blocked (waiting) threads are inserted into a basic FIFO queue, the first item of which is awakened when signal() is called. Is there any ...

热门标签