www.evidhyashala.com provides free free mock test , free online exam , online exam free test series , online exam free , Online Test Exam Series , free exam papers past papers , online exam form ,Online Test Series for Exam Prep. Free Mock Tests - for All govt jobs. Bank PO, Clerk, SSC CGL, CHSL, JE, GATE, Insurance, Railways, IBPS RRB, SBI, RBI, IPPB, BSNL TTA

Sponser Link

know more info pls click here

pstree Command -R&D26012012

pstree Command

This command is also used the check the process on the server. " pstree " command will list all the running process in the form of a tree structure.

Example:
root@server [~]$ pstree
init---agetty
+-antirelayd
+-bdflush
+-chkservd
+-4*[courierlogger---couriertcpd]
+-courierlogger---authdaemond---5*[authdaemond---authProg]
+-cpanellogd
+-cpdavd
+-cphulkd.pl
+-cpsrvd-ssl---cpsrvd-ssl
+-crond
+-entropychat
+-exim---exim---3*[exim]
¦ +-spamc
+-2*[exim]
+-exim---20*[exim]
+-eximstats
+-hpt_wt
+-httpd---56*[httpd]
+-interchange
+-keventd
+-7*[kjournald]
+-klogd
+-ksoftirqd_CPU0
+-ksoftirqd_CPU1
+-ksoftirqd_CPU2
+-ksoftirqd_CPU3
+-kswapd
+-kupdated
+-mailmanctl---8*[python2.4]
+-mdrecoveryd
+-6*[mingetty]
+-mysqld_safe---mysqld---mysqld---26*[mysqld]
+-named---named---6*[named]
+-portsentry
+-pure-authd
+-pure-ftpd
+-10*[python2.4]
+-scsi_eh_0
+-spamd---2*[spamd]
+-ssh
+-sshd---sshd---sshd---bash---su---bash
¦ +-sshd---sshd---bash---su---bash---pstree
+-syslogd
+-xinetd

Also try the following options for " pstree ".
root@server [~]$ pstree -p
init(1)---agetty(7480)
+-antirelayd(8658)
+-bdflush(8)
+-chkservd(6224)
+-courierlogger(6833)---couriertcpd(6834)
+-courierlogger(6840)---couriertcpd(6841)
+-courierlogger(6846)---couriertcpd(6847)
+-courierlogger(6852)---couriertcpd(6853)
+-courierlogger(6858)---authdaemond(6859)---authdaemond(6873)
¦ +-authdaemond(6874)---authProg(26164)
¦ +-authdaemond(6875)---authProg(17488)
¦ +-authdaemond(6876)---authProg(8194)
¦ +-authdaemond(6877)---authProg(29956)

0 comments:

Popular Posts