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)
My Blog List
Sponser Link
know more info pls click here
Popular Posts
-
<div id="editable" contenteditable="true"> text text text<br> text text text<br> text text...
-
1. Use exception-handling structures to deal with exceptions within the scope of a procedure. This technique is called structured exception ...
-
The Trace object provides the Write and Warn methods to allow you to write messages to a request’s trace information. The two methods are id...
-
There is a little tool called JSPExecutor that allows you to do just that. The developers (Hendrik Schreiber <hs@webapp.de> & Pet...
-
Let me explain the process; 1. First you should go to your adsense account and grab the code for your adsense ads. 2. For this you sh...
-
Few know that those who have web hosting are at the same time endowed with a free VPN (Virtual Private Network, a very safe connection to t...
-
There are a number of ways to get information about a particular Linux command. Chances are you are using bash shell which is currently the...
-
To check if a URL or an email address is valid, the common solution is regular expressions. For instance, to validate an email address in P...
-
we are running a classified site and the latest ads which are coming to the system is indexed in solr write server in every three minutes. T...
-
open source Apache webserver is well-proven, but can still offer an administrator headaches from timeto time when things don't go quite ...
0 comments:
Post a Comment