Questions tagged [pstree]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
27 views

pstree using VT100 graphic chars [duplicate]

I am running pstree on MacOS Majave and wan to Show branches of processes using VT100 graphic chars: $ pstree -g 2 | head -n 3 ─┬◆ 00001 root /sbin/launchd ├──◆ 00049 root /usr/sbin/syslogd ├──◆ ...
0
votes
1answer
43 views

Use derived output from a series of commands to egrep from pstree -p command

I have the following long one liner which essentially provides a list of PIDs with a '|' delim character echo $(lsof -p $(pgrep -f dosemu | tr '\012' ,) | grep '/media/datadrv' | awk '{print $2" - " $...
1
vote
1answer
340 views

How to show process tree with specified attributes

The command pstree shows a process tree such as this systemd-+--agetty +--dbus-daemon +--login----bash---pstree +--systemd-qqsd I want to show a process tree with some ...
0
votes
2answers
480 views

How can I get only the ancestry processes of a given process?

Is it correct that pstree <pid> will output all the descendant processes of the given process pstree -s <pid> will output all the descendant processes and ancestry processes of the given ...