How to display the process tree of a specified parent process number in Linux
Source: Internet
Author: User
Tree View process. The tree version of psps-ahp & lt; pid & gt; linux command does not exist in the bsd system by default. the Function description of ports is displayed in a tree chart. Syntax: pstree [-acGhlnpuUV] [-H & lt; Program identification code & gt;] [& lt; Program identification code & gt;/& lt; user name...
Tree View process, tree version psps-ahp Linux commands, which are not available in the bsd system by default. for ports, set the function description to a tree chart to display the program. Syntax: pstree [-acGhlnpuUV] [-H <Program identification code> ] [ <Program identification code> / <User name> ] Note: The pstree command uses ASCII characters to display the tree structure and clearly express the relationship between programs. If no program identification code or user name is specified, the first program sequence at system startup is regarded as the base layer and all subsequent programs are displayed. If the user name is specified, the first program that belongs to the user is used as the base layer, and all programs of the user are displayed. Www.2cto.com parameter:-a shows the complete instruction of each program, including the path, parameter, or resident service identifier. -C does not use the simplified labeling method. -G uses column plot characters of the VT100 terminal. -H: specifies the program to be executed when listing the tree chart. -H <Program identification code> The effect of this parameter is similar to that of the specified "-h" parameter, but it is particularly indicated by the specified program. -L the tree chart is displayed in the long column format. -N is sorted by the program identifier. Preferences are sorted by program names. -P indicates the program identifier. -U: displays the user name. -U plot characters using UTF-8 columns. -V displays the version information. Author liujun.1980
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service