WARNING: This site is intended for online use only; mass-downloading of pages degrades the server and is prohibited.
If you attempt to use tools to mass-download the site, you may be blocked permanently by automated software.
If you want to read this CertiGuide offline, please use one of the links on the left to purchase a convenient PDF copy. Thank you.

Read this whole guide offline with no ads, for a very low price!
Click Here!

Custom Search






Table Of Contents  CertiGuide to A+ (A+ 4 Real)
 9  Chapter 5: The Linux Operating System
      9  Command Line Functions And Administrative Utilities
           9  Process Management

Previous Topic/Section
ps - Report Process Status
Previous Page
Pages in Current Topic/Section
1
Next Page
top - Show System Activity Information
Next Topic/Section

pstree - Show Process Relationships

The pstree command can be used to show the relationships between various processes on the system and gives an excellent visual representation of these relationships:

pstree

Here’s what a sample output looks like:

init-+-bdflush

|-crond

|-cupsd

|-gpm

|-httpd---8*[httpd]

|-kalarmd

|-kdeinit-+-artsd

| |-autorun

| |-3*[kdeinit]

| |-kdeinit---bash---man---sh---sh-+-less

| | `-nroff---groff---grotty

| |-kdeinit---bash

| `-kdeinit---bash---pstree

|-11*[kdeinit]

|-kdeinit---kdesktop_lock

|-kdesud

|-keventd

|-khubd

|-kjournald

|-klogd

|-kmail

|-korgac

|-ksoftirqd_CPU0

|-kswapd

|-kupdated

|-login---bash---startx---xinit-+-X

| `-startkde---kwrapper

|-5*[mingetty]

|-miniserv.pl

|-nmbd---nmbd

|-safe_mysqld---mysqld---mysqld---2*[mysqld]

|-scsi_eh_0

|-sendmail

|-smbd

|-snort

|-sshd

|-syslogd

|-xfs

`-xinetd


Previous Topic/Section
ps - Report Process Status
Previous Page
Pages in Current Topic/Section
1
Next Page
top - Show System Activity Information
Next Topic/Section

If you find CertiGuide.com useful, please consider making a small Paypal donation to help the site, using one of the buttons below. You can also donate a custom amount using the far right button (not less than $1 please, or PayPal gets most/all of your money!) In lieu of a larger donation, you may wish to consider buying an inexpensive PDF equivalent of the CertiGuide to A+ (A+ 4 Real) from StudyExam4Less.com. Thanks for your support!
Donate $2
Donate $5
Donate $10
Donate $20
Donate $30
Donate: $



Home - Table Of Contents - Contact Us

CertiGuide to A+ (A+ 4 Real) (http://www.CertiGuide.com/apfr/) on CertiGuide.com
Version 1.0 - Version Date: March 29, 2005

Adapted with permission from a work created by Tcat Houser et al.
CertiGuide.com Version Copyright 2005 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.