install pstree
Linux pstree shows running processes as a tree. The tree is rooted at either pid or init if pid is omitted. If a user name is specified, all process trees rooted at processes owned by that user are shown. | |
Install pstree | |
#On Mac OS | |
brew install pstree | |
#On Fedora/Red Hat/CentOS | |
yum install psmisc #using psmisc package for pstree | |
#On Ubuntu/Debian APT | |
apt-get install psmisc | |
After above opeation, we can use | |
# man pstree | less | |
to check whether the installation is successful. |
This comment has been minimized.
This comment has been minimized.
Thanks |
This comment has been minimized.
This comment has been minimized.
Thanks. Question: I want to create a directory which can appears or view by all users. How to do ? |
This comment has been minimized.
This comment has been minimized.
How to install pstree in NetBSD 8.1? localhost$ pstree |
This comment has been minimized.
This comment has been minimized.
Found it: https://www.cyberciti.biz/faq/unix-linux-pstree-command-examples-shows-running-processestree/ |
This comment has been minimized.
This comment has been minimized.
Thanks |
This comment has been minimized.
This comment has been minimized.
Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
Thanks !