我尝试探索 bash苹果系统使用该过程,
$ ps --forest
ps: illegal option -- -
usage: ps [-AaCcEefhjlMmrSTvwXx] [-O fmt | -o fmt] [-G gid[,gid...]]
[-g grp[,grp...]] [-u [uid,uid...]]
[-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]
ps [-L]
开启时森托斯
[root@iz2ze9wve43n2nyuvmsfx5z ~]# ps --forest
PID TTY TIME CMD
30737 pts/1 00:00:00 bash
30757 pts/1 00:00:00 \_ bash
30770 pts/1 00:00:00 \_ bash
30781 pts/1 00:00:00 \_ bash
30795 pts/1 00:00:00 \_ bash
30808 pts/1 00:00:00 \_ ps
我怎样才能获得这个功能?