指令:thread apply [threadid-list | all [-ascending]] [flags]... command
解析:
thread apply
:
表示同时对多个线程进行操作.
声明操作集合:[threadid-list | all [-ascending]]
可选,无参操作当前线程.
threadid-list
表示操作的线程集合.
all
表示操作所有的线程.
[-ascending]
表示按照线程从小到大的顺序执行.默认是从大到小.
标签:flags
表示如何处理在执行时遇到的错误.
-c
执行出错了还是继续执行.
-s
执行出错了还是继续执行,并且不输出错误.silent
-q
仅仅不输出任务关于线程的信息.
-c -q | -s -q | -c | -s
但是-c, -s
不能一起用.