pstree 是 Linux 下的一个用于展示进程树结构的工具,类似于 tree 展示目录树一样,可视化地查看进程的继承关系。pstree 工具其实是 PSmisc 工具集的成员之一,PSmisc 工具集由 4 个实用的 Linux 进程管理工具(通过 Linux 的 /proc 文件系统实现)组成:

fuser - identifies what processes are using files.
killall - kills a process by its name, similar to a pkill found in some other Unices.
pstree - Shows currently running processes in a tree format.
peekfd - Peek at file descriptors of running processes.

示例:

Linux 进程树查看工具 pstree

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-20
  • 2022-01-31
猜你喜欢
  • 2021-11-23
  • 2021-07-24
  • 2021-10-13
  • 2022-12-23
相关资源
相似解决方案