Integrating the pstree Tool into OpenWrt
Recently, while debugging a user-space program, I suddenly wanted to understand the relationship between a certain process and several child processes, similar to the output below: ruok@ruok-vm:~$ ps aux | grep smbdroot 1359 0.0 0.2 356712 20596 ? Ss 16:48 0:00 /usr/sbin/smbd –foreground –no-process-grouproot 1361 0.0 0.0 344968 6036 ? S 16:48 0:00 /usr/sbin/smbd –foreground … Read more