layout | title | tags |
---|---|---|
manual |
pstree - Statistics of command combinations using pipe |
statistic |
The commands before pstree
: Pipe the result of the given command to pstree
.
Command | percentage |
---|---|
grep | 60% |
name | 20% |
sleep | 20% |
The commands after pstree
: Pipe the result of pstree
to the given command.
Command | Percentage |
---|---|
awk | 25% |
w | 25% |
less | 25% |
ss | 25% |
Below are the scenarios for all command combinations above.
The description in the table is referenced from and can be used to search the one-line-command or the scripts in the website of CommandLineFu.
- Disaster Snapshot (procmail)
- Find process tree in friendly format
- Display the tree of all instance of a particular process
- Find process tree in friendly format
- Display the tree of all instance of a particular process
- slow down CPU and IO for process and its offsprings.
- slow down CPU and IO for process and its offsprings.
- View and review the system process tree.
- View and review the system process tree.