0%

ps/pstree/top 支持 thread

嵌入式 Linux 系统中增加 thread 支持

ps -T 显示系统中的 threads,需要打开 busybox 中的配置项 Support thread display in ps/pstree/top

打开之后 ps/pstree/top 支持 thread

针对 SMP 系统可以打开 top 多个选项增强调试信息

[*] top
    [*]   Accept keyboard commands
    [*]   Show CPU per-process usage percentage
    [*]     Show CPU global usage percentage
    [*]       SMP CPU usage display ('c' key)
    [*]     Show 1/10th of a percent in CPU/mem statistics
    [*]   Show CPU process runs on ('j' field)
    [*]   Topmem command ('s' key)