rpstree 0.1.0

A command-line tool written in Rust that mimics the functionality of the pstree command.
Documentation
  • Coverage
  • 0%
    0 out of 11 items documented0 out of 3 items with examples
  • Size
  • Source code size: 38.74 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.59 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • LaixiLiu

rpstree

基于rust编写的查看进程树的命令行工具,适用于Linux系统。

Usage

使用如下命令显示所有顶级进程及其子进程

Usage: rpstree [OPTION]
Show the process tree of the system

Options:
  -p, --pid           Show PID of the process
  -n, --numeric-sort  Sort processes by PID
  -h, --help          Display this help and exit
  -v, --version       Output version information and exit

Build

可以使用下面的命令构建二进制可执行程序(需要安装cargo):

git clone https://github.com/LaixiLiu/rpstree.git
cd rpstree
cargo build --release

你可以在target/rpstree目录下找到二进制可执行程序rpstree