性能测试必备命令(4)- pstree

时间:2021-02-24 12:51:37   收藏:0   阅读:0

性能测试必备的 Linux 命令系列,可以看下面链接的文章哦

https://www.cnblogs.com/poloyy/category/1819490.html

 

介绍

显示进程树

 

语法格式

pstree [-a, --arguments] [-c, --compact] [-h, --highlight-all, -Hpid, --high‐ light-pid pid] [-g] --show-pgids] [-l, --long] [-n, --numeric-sort] [-N, --ns-sortns [-p, --show-pids] [-s, --show-parents] [-S, --ns-changes] [-t, --thread-names] [-T, --hide-threads] [-u, --uid-changes] [-Z, --security-context] [-A, --ascii, -G, --vt100, -U, --unicode] [pid, user] pstree -V, --version

 

命令行参数

技术图片

 

栗子

pstree -acpgts

技术图片

演变的过程

 

 

 

 

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!