The pstree command shows the derived relationship between processes in a tree diagram, and the display effect is relatively intuitive.
The pstree command displays a tree of processes in a tree view. The ps command can display information about the processes that are currently running, but the relationship between them is not clear enough.
In the Linux system, the system call fork can create a child process, and the child process can also create a child process. The relationship between processes in the Linux system is a tree, and the root of the tree is the process PID 1 Init process.
Syntax
pstree (options) Options-a: Display complete instructions for each program, including paths, parameters, or resident service flags; -c: Do not use streamlined Marking method; -G: Use the column drawing characters of the VT100 terminal; -h: When listing the tree diagram, specify the program currently executed; -H<Program ID pid>: Effect and specification of this parameter”- h” The parameters are similar, but the specified program is specifically marked; -l: display the tree view in long column format; -n: sort by program identification code. The presets are sorted by program name; -p: display program identification code pid; -u: display user name; -U: use UTF-8 column drawing characters; -V: display version information.
chestnuts
displays the current number of all processes and process id
pstree -p shows all the details of all processes, experience the same process name can be compressed display
< Pre>pstree -a
1 U disk or disk mount under virtual machine, network configuration under Ubuntu, switch bet
This article address: http://www.cnblogs.com/archimedes/p/bash-shell1.html, please indicate the sour
in Linux explains the output of the free command on Linux. The following is the result of the free r
How to find files quickly in Linux
Linux Weblogic related environment variable setting
The difference between setting the environment variable configuration file under Linux
Method for installing RPM format package in Ubuntu system
Inux virtual machine network configuration method and solution to the problem
How to create and unzip zip, tar, tar.gz and tar.bz2 files under Linux
Vim tools commonly used in Linux
Linux kernel boot to retain large memory method summary
Linux partial command explanation (what means the command abbreviation means)
How to adjust the screen brightness of win7 system
Installing Vista Terminal Services Client
WordPress has not updated WP8 for a long time, it is suspected to give up support
How to solve the win7 system IE browser automatically close after opening?
How Windows 7 virtual machines share host files
Win7 Ultimate system boot appears "Windows can not find files or no associated programs"
Win7 Tips: Use Group Policy to prevent unfamiliar u disk boot
What if the win10 disk cleaning function disappears?
Win10 prohibits the pop-up prompt box when the new application is opened.