Process Trees from a couple of servers - one DELL, one HP.

linux-logo_all.jpg AboutLinux

pstree from a random HP server

[[email protected] ~]# pstree -paul|sed 's/\([a-zA-Z/\.][a-zA-Z/\.-][a-zA-Z/\.-]*\)/\[\[\1\]\]/g'|sed 's/$/<br>/'

To get this listing I ran the above, then did a little cleanup where needed.

The result is/was clickable links to create pages, one-per-process.

init,1
|-EvMgrC,3314
| |-{EvMgrC},3320
| |-{EvMgrC},3321
| |-{EvMgrC},3322
| `-{EvMgrC},32327
|-acpid,16190
|-atd,16234
|-auditd,15811
| |-audispd,15813
| | `-{audispd},15814
| `-{auditd},15812
|-automount,15137
| |-{automount},15138
| |-{automount},15139
| |-{automount},15142
| `-{automount},15145
|-avahi-daemon,15712,avahi
| `-avahi-daemon,15713
|-cmaeventd,6919 -p 15 -l /var/log/hp-snmp-agents/cma.log
|-cmafcad,6933 -p 15 -s OK -l /var/log/hp-snmp-agents/cma.log
|-cmahostd,6638 -p 15 -s OK -l /var/log/hp-snmp-agents/cma.log
|-cmaidad,7004 -p 15 -s OK -l /var/log/hp-snmp-agents/cma.log
|-cmaided,7028 -p 15 -s OK -l /var/log/hp-snmp-agents/cma.log
|-cmanicd,7090
| |-{cmanicd},7648
| `-{cmanicd},7649
|-cmapeerd,6872 -l /var/log/hp-snmp-agents/cma.log
| `-{cmapeerd},6892
|-cmaperfd,6822 -p 30 -s OK -l /var/log/hp-snmp-agents/cma.log
|-cmasasd,6974 -p 15 -s OK -l /var/log/hp-snmp-agents/cma.log
|-cmascsid,7063 -p 15 -s OK -l /var/log/hp-snmp-agents/cma.log
|-cmasm2d,6701 -p 30 -l /var/log/hp-snmp-agents/cma.log
| `-{cmasm2d},6744
|-cmasm2d,6769 -p 30 -l /var/log/hp-snmp-agents/cma.log
|-cmastdeqd,6572 -p 30 -l /var/log/hp-snmp-agents/cma.log
|-cmathreshd,6645 -p 5 -s OK -l /var/log/hp-snmp-agents/cma.log
|-crond,15673
|-cvd,3316
| |-{cvd},3319
| |-{cvd},3330
| |-{cvd},3331
| |-{cvd},3337
| |-{cvd},3338
| |-{cvd},3339
| |-{cvd},3341
| `-{cvd},3342
|-dbus-daemon,2523,dbus --system
|-dovecot,2825
| |-dovecot-auth,2828
| |-imap-login,30533,dovecot
| |-imap-login,30534,dovecot
| |-imap-login,30536,dovecot
| |-imap-login,30537,dovecot
| |-imap-login,30538,dovecot
| |-pop3-login,30520,dovecot
| |-pop3-login,30521,dovecot
| |-pop3-login,30522,dovecot
| |-pop3-login,30523,dovecot
| `-pop3-login,30524,dovecot
|-(eventsSlash0,8)
|-(eventsSlash1,9)
|-hald,3187,haldaemon
| `-hald-runner,3188,root
| |-hald-addon-acpi,3195,haldaemon
| `-hald-addon-keyb,3209,haldaemon
|-hpasmxld,6485 -f /dev/ipmi1
| |-{hpasmxld},6486
| |-{hpasmxld},6487
| |-{hpasmxld},6488
| |-{hpasmxld},6489
| |-{hpasmxld},6490
| |-{hpasmxld},6492
| |-{hpasmxld},6493
| `-{hpasmxld},6494
|-hpsmhd,6107 -DSSL -f /opt/hp/hpsmh/conf/smhpd.conf
| |-hpsmhd,6111,hpsmh -DSSL -f /opt/hp/hpsmh/conf/smhpd.conf
| |-hpsmhd,6112,hpsmh -DSSL -f /opt/hp/hpsmh/conf/smhpd.conf
| |-hpsmhd,6113,hpsmh -DSSL -f /opt/hp/hpsmh/conf/smhpd.conf
| |-hpsmhd,6114,hpsmh -DSSL -f /opt/hp/hpsmh/conf/smhpd.conf
| |-hpsmhd,6115,hpsmh -DSSL -f /opt/hp/hpsmh/conf/smhpd.conf
| |-rotatelogs,6109 /var/spool/opt/hp/hpsmh/logs/error_log 5M
| `-rotatelogs,6110 /var/spool/opt/hp/hpsmh/logs/access_log 5M
|-httpd,29151
| |-httpd,3480,apache
| |-httpd,3569,apache
| |-httpd,3575,apache
| |-httpd,3653,apache
| |-httpd,3703,apache
| |-httpd,3704,apache
| |-httpd,3723,apache
| |-httpd,3724,apache
| |-httpd,3725,apache
| |-httpd,3726,apache
| |-httpd,3727,apache
| |-httpd,3736,apache
| |-httpd,3760,apache
| |-httpd,3762,apache
| |-httpd,3763,apache
| |-httpd,3765,apache
| |-httpd,3766,apache
| |-httpd,3767,apache
| |-httpd,3815,apache
| |-httpd,3818,apache
| |-httpd,3819,apache
| |-httpd,3820,apache
| |-httpd,3821,apache
| |-httpd,3823,apache
| |-httpd,3833,apache
| `-httpd,3835,apache
|-irqbalance,2393
|-(khelper,10)
|-klogd,14065 -x
|-(ksoftirqdSlash0,3)
|-(ksoftirqdSlash1,6)
|-(kthread,49)
| |-(aioSlash0,322)
| |-(aioSlash1,323)
| |-(cciss_scan00,503)
| |-(cqueueSlash0,236)
| |-(cqueueSlash1,237)
| |-(kacpid,56)
| |-(kauditd,550)
| |-(kblockdSlash0,54)
| |-(kblockdSlash1,55)
| |-(kedac,1137)
| |-(khubd,240)
| |-(khungtaskd,318)
| |-(kipmi0,6454)
| |-(kjournald,523)
| |-(kjournald,1739)
| |-(kjournald,1741)
| |-(kmpath_handlerd,1713)
| |-(kmpathdSlash0,1711)
| |-(kmpathdSlash1,1712)
| |-(kondemandSlash0,1908)
| |-(kondemandSlash1,1909)
| |-(kpsmoused,472)
| |-(kseriod,242)
| |-(kstriped,510)
| |-(kswapd0,321)
| |-(pdflush,319)
| |-(pdflush,26142)
| |-(rpciodSlash0,2488)
| `-(rpciodSlash1,2489)
|-(migrationSlash02)
|-(migrationSlash1,5)
|-miniservDotPL,4469 /usr/libexec/webmin/miniserv.pl /etc/webmin/miniserv.conf
|-mysqld_safe,16025 /usr/bin/mysqld_safe --datadir=/var/lib/mysql --socket=/var/lib/mysql/mysql.sock --log-error=/var/log/mysqld.log--pid-file=
| `-mysqld,16069,mysql --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid--skip-external-locki
| |-{mysqld},16071
| |-{mysqld},16072
| |-{mysqld},16073
| |-{mysqld},16074
| |-{mysqld},16076
| |-{mysqld},16077
| |-{mysqld},16078
| |-{mysqld},16079
| |-{mysqld},16085
| |-{mysqld},16091
| `-{mysqld},26171
|-ntpd,15629,ntp -u ntp:ntp -p /var/run/ntpd.pid -g
|-pcscd,15383
| `-{pcscd},15386
|-rc,1803 /etc/rc.d/rc 3
| `-S99local,3345 /etc/rc3.d/S99local start
| `-qaswvd,3353
| |-{qaswvd},3354
| |-{qaswvd},3355
| |-{qaswvd},3356
| `-{qaswvd},24729
|-rhnsd,15593 --interval 240
|-rpcDotIdmapd,7919
|-saslauthd,16210 -m /var/run/saslauthd -a pam
| |-saslauthd,16211 -m /var/run/saslauthd -a pam
| |-saslauthd,16212 -m /var/run/saslauthd -a pam
| |-saslauthd,16213 -m /var/run/saslauthd -a pam
| `-saslauthd,16214 -m /var/run/saslauthd -a pam
|-sendmail,14925
|-sendmail,14935,smmsp
|-snmpd,6734 -Lsd -Lf /dev/null -p /var/run/snmpd.pid -a
| `-{snmpd},6735
|-snmptrapd,25114 -Lsd -p /var/run/snmptrapd.pid
|-sshd,15426
| `-sshd,3508
| `-sshd,3512,rack
| `-bash,3517
| `-su,3541,root -
| `-bash,3545
| |-pstree,4615 -paul
| |-sed,4616 s/\([a-zA-Z/\.][a-zA-Z/\.-][a-zA-Z/\.-]*\)/\[\[\1\]\]/g
| `-sed,4617 s/$/<br>/
|-syslogd,14062 -r -m 0
|-tail,24622 -f /var/log/vsftpd.log
|-udevd,12501 -d
|-vsftpd,2705 /etc/vsftpd/vsftpd.conf
|-(watchdogSlash0,4)
|-(watchdogSlash1,7)
|-xfs,3076,xfs -droppriv -daemon
`-xinetd,2654 -stayalive -pidfile /var/run/xinetd.pid

pstree from a random DELL server

[[email protected] ~]# pstree -paul|sed 's/\([a-zA-Z/\.][a-zA-Z/\.-][a-zA-Z/\.-]*\)/\[\[\1\]\]/g'|sed 's/$/
/' init,1
|-EvMgrC,10039
| |-{EvMgrC},10042
| |-{EvMgrC},10043
| |-{EvMgrC},10044
| |-{EvMgrC},10045
| `-{EvMgrC},31736
|-acpid,3461
|-atd,4107
|-auditd,3018
| |-audispd,3020
| | `-{audispd},3021
| `-{auditd},3019
|-automount,3534
| |-{automount},3535
| |-{automount},3536
| |-{automount},3539
| `-{automount},3542
|-courierlogger,21892 imapd
|-courierlogger,21902 imapd-ssl
|-courierlogger,21910 pop3d
|-courierlogger,21919 pop3d-ssl
|-couriertcpd,21890 -address=0 -stderrlogger=/usr/sbin/courierlogger -stderrloggername=imapd -maxprocs=40-maxperip=40
|-couriertcpd,21900 -address=0 -stderrlogger=/usr/sbin/courierlogger -stderrloggername=imapd-ssl -maxprocs=40-maxperi
|-couriertcpd,21908 -address=0 -stderrlogger=/usr/sbin/courierlogger -stderrloggername=pop3d -maxprocs=40-maxperip=40
|-couriertcpd,21917 -address=0 -stderrlogger=/usr/sbin/courierlogger -stderrloggername=pop3d-ssl -maxprocs=40-maxperi
|-crond,4082
|-cvd,10040
| |-{cvd},10047
| |-{cvd},10097
| |-{cvd},10098
| |-{cvd},10140
| |-{cvd},10143
| |-{cvd},10153
| |-{cvd},10159
| `-{cvd},10174
|-dbus-daemon,3447,dbus --system
|-dsm_om_connsvcd,4821 -run
| `-dsm_om_connsvcd,4822 -run
| |-{dsm_om_connsvcd},4823
| |-{dsm_om_connsvcd},4856
| |-{dsm_om_connsvcd},4857
| |-{dsm_om_connsvcd},4858
| |-{dsm_om_connsvcd},4859
| |-{dsm_om_connsvcd},4860
| |-{dsm_om_connsvcd},4861
| |-{dsm_om_connsvcd},4862
| |-{dsm_om_connsvcd},4863
| |-{dsm_om_connsvcd},4899
| |-{dsm_om_connsvcd},4903
| |-{dsm_om_connsvcd},4904
| |-{dsm_om_connsvcd},4919
| |-{dsm_om_connsvcd},4920
| |-{dsm_om_connsvcd},4921
| |-{dsm_om_connsvcd},4922
| |-{dsm_om_connsvcd},4923
| |-{dsm_om_connsvcd},4945
| |-{dsm_om_connsvcd},4946
| |-{dsm_om_connsvcd},4966
| |-{dsm_om_connsvcd},4967
| |-{dsm_om_connsvcd},4968
| |-{dsm_om_connsvcd},5042
| |-{dsm_om_connsvcd},5043
| |-{dsm_om_connsvcd},5044
| |-{dsm_om_connsvcd},5045
| |-{dsm_om_connsvcd},5046
| |-{dsm_om_connsvcd},5047
| |-{dsm_om_connsvcd},5048
| |-{dsm_om_connsvcd},5049
| |-{dsm_om_connsvcd},5050
| |-{dsm_om_connsvcd},5051
| |-{dsm_om_connsvcd},5052
| |-{dsm_om_connsvcd},5053
| |-{dsm_om_connsvcd},5054
| |-{dsm_om_connsvcd},5055
| |-{dsm_om_connsvcd},5056
| |-{dsm_om_connsvcd},5057
| |-{dsm_om_connsvcd},5058
| |-{dsm_om_connsvcd},5059
| |-{dsm_om_connsvcd},5060
| |-{dsm_om_connsvcd},5061
| |-{dsm_om_connsvcd},5062
| |-{dsm_om_connsvcd},5063
| |-{dsm_om_connsvcd},5064
| |-{dsm_om_connsvcd},5065
| |-{dsm_om_connsvcd},5066
| |-{dsm_om_connsvcd},5067
| `-{dsm_om_connsvcd},5068
|-dsm_om_shrsvcd,4197
| |-{dsm_om_shrsvcd},4198
| |-{dsm_om_shrsvcd},4200
| |-{dsm_om_shrsvcd},4210
| |-{dsm_om_shrsvcd},4211
| |-{dsm_om_shrsvcd},4212
| `-{dsm_om_shrsvcd},4219
|-dsm_sa_datamgrd,4589
| |-{dsm_sa_datamgrd},4658
| |-{dsm_sa_datamgrd},4659
| |-{dsm_sa_datamgrd},4660
| |-{dsm_sa_datamgrd},4663
| |-{dsm_sa_datamgrd},4664
| |-{dsm_sa_datamgrd},4665
| |-{dsm_sa_datamgrd},4666
| |-{dsm_sa_datamgrd},4667
| |-{dsm_sa_datamgrd},4669
| |-{dsm_sa_datamgrd},4670
| |-{dsm_sa_datamgrd},4689
| |-{dsm_sa_datamgrd},4729
| |-{dsm_sa_datamgrd},4789
| `-{dsm_sa_datamgrd},4965
|-dsm_sa_eventmgr,4728
| |-{dsm_sa_eventmgr},4730
| `-{dsm_sa_eventmgr},4731
|-dsm_sa_snmpd,4787
| |-{dsm_sa_snmpd},4788
| |-{dsm_sa_snmpd},4790
| |-{dsm_sa_snmpd},4791
| |-{dsm_sa_snmpd},4792
| `-{dsm_sa_snmpd},4793
|-(events/0,26)
|-(events/1,27)
|-(events/2,28)
|-(events/3,29)
|-(events/4,30)
|-(events/5,31)
|-(events/6,32)
|-(events/7,33)
|-hald,3474,haldaemon
| `-hald-runner,3475,root
| |-hald-addon-acpi,3482,haldaemon
| `-hald-addon-keyb,3489,haldaemon
|-httpd,28455
| |-httpd,12059,apache
| |-httpd,12060,apache
| |-httpd,12061,apache
| |-httpd,12062,apache
| |-httpd,12063,apache
| |-httpd,12064,apache
| |-httpd,12065,apache
| |-httpd,12066,apache
| |-httpd,12067,apache
| |-httpd,12526,apache
| |-httpd,12527,apache
| |-httpd,12875,apache
| |-httpd,14084,apache
| |-httpd,14085,apache
| |-httpd,14086,apache
| |-httpd,17615,apache
| `-httpd,17728,apache
|-irqbalance,3127
|-(khelper,34)
|-klogd,19938 -x
|-(ksoftirqd/0,3)
|-(ksoftirqd/1,6)
|-(ksoftirqd/2,9)
|-(ksoftirqd/3,12)
|-(ksoftirqd/4,15)
|-(ksoftirqd/5,18)
|-(ksoftirqd/6,21)
|-(ksoftirqd/7,24)
|-(kthread,171)
| |-(aio/0,477)
| |-(aio/1,478)
| |-(aio/2,479)
| |-(aio/3,480)
| |-(aio/4,481)
| |-(aio/5,482)
| |-(aio/6,483)
| |-(aio/7,484)
| |-(cqueue/0,334)
| |-(cqueue/1,335)
| |-(cqueue/2,336)
| |-(cqueue/3,337)
| |-(cqueue/4,338)
| |-(cqueue/5,339)
| |-(cqueue/6,340)
| |-(cqueue/7,341)
| |-(kacpid,191)
| |-(kauditd,813)
| |-(kblockd/0,183)
| |-(kblockd/1,184)
| |-(kblockd/2,185)
| |-(kblockd/3,186)
| |-(kblockd/4,187)
| |-(kblockd/5,188)
| |-(kblockd/6,189)
| |-(kblockd/7,190)
| |-(kedac,1501)
| |-(khubd,344)
| |-(khungtaskd,472)
| |-(kjournald,788)
| |-(kjournald,2551)
| |-(kjournald,2553)
| |-(kmpath_handlerd,2474)
| |-(kmpathd/0,2466)
| |-(kmpathd/1,2467)
| |-(kmpathd/2,2468)
| |-(kmpathd/3,2469)
| |-(kmpathd/4,2470)
| |-(kmpathd/5,2471)
| |-(kmpathd/6,2472)
| |-(kmpathd/7,2473)
| |-(kpsmoused,644)
| |-(kseriod,346)
| |-(kstriped,751)
| |-(kswapd0,475)
| |-(kswapd1,476)
| |-(pdflush,6985)
| |-(pdflush,10405)
| |-(rpciod/0,3371)
| |-(rpciod/1,3372)
| |-(rpciod/2,3373)
| |-(rpciod/3,3374)
| |-(rpciod/4,3375)
| |-(rpciod/5,3376)
| |-(rpciod/6,3377)
| |-(rpciod/7,3378)
| `-(scsi_eh_0,723)
|-magent,3292 -config sophos.config
| |-{magent},3317
| |-{magent},3318
| |-{magent},3331
| |-{magent},3332
| |-{magent},3656
| |-{magent},27942
| `-{magent},27943
|-master,22237
| |-anvil,27314,postfix -l -t unix -u
| |-pickup,24526,postfix -l -t fifo -u -c -o content_filter smtp:127.0.0.1:10027
| |-proxymap,27728,postfix -t unix -u
| |-qmgr,22242,postfix -l -t fifo -u
| |-smtpd,27727,postfix -n smtp -t inet -u -c -o smtpd_proxy_filter 127.0.0.1:10025
| `-tlsmgr,22409,postfix -l -t unix -u
|-(migration/0,2)
|-(migration/1,5)
|-(migration/2,8)
|-(migration/3,11)
|-(migration/4,14)
|-(migration/5,17)
|-(migration/6,20)
|-(migration/7,23)
|-mingetty,4973 tty1
|-mingetty,4974 tty2
|-mingetty,4975 tty3
|-mingetty,4980 tty4
|-mingetty,4984 tty5
|-mingetty,4990 tty6
|-mrouter,3290 -config router.config -ORBListenEndpoints iiop://:8193/ssl_port=8194 -name Router -certStore ./Certs.reg
| |-{mrouter},27597
| |-{mrouter},27598
| |-{mrouter},27599
| |-{mrouter},27600
| |-{mrouter},27601
| |-{mrouter},27602
| |-{mrouter},27603
| |-{mrouter},27604
| |-{mrouter},27605
| |-{mrouter},27606
| |-{mrouter},27607
| |-{mrouter},27608
| |-{mrouter},27609
| |-{mrouter},27610
| |-{mrouter},27611
| `-{mrouter},27612
|-mysqld_safe,3707 /usr/bin/mysqld_safe --datadir=/var/lib/mysql --socket=/var/lib/mysql/mysql.sock --log-error=/var/log/mysqld.log--pid-file=
| `-mysqld,3751,mysql --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid--skip-external-locki
| |-{mysqld},3753
| |-{mysqld},3754
| |-{mysqld},3755
| |-{mysqld},3756
| |-{mysqld},3758
| |-{mysqld},3759
| |-{mysqld},3760
| |-{mysqld},3761
| |-{mysqld},3762
| |-{mysqld},3765
| |-{mysqld},5787
| |-{mysqld},5792
| |-{mysqld},22952
| |-{mysqld},11822
| |-{mysqld},22465
| |-{mysqld},32191
| |-{mysqld},32192
| |-{mysqld},32193
| |-{mysqld},32194
| |-{mysqld},28556
| |-{mysqld},32363
| |-{mysqld},3881
| |-{mysqld},3882
| |-{mysqld},3883
| `-{mysqld},3885
|-named,23190,named -u named -c /etc/named.conf -u named -t /var/named/run-root
| |-{named},23191
| |-{named},23192
| |-{named},23193
| |-{named},23194
| |-{named},23195
| |-{named},23196
| |-{named},23197
| |-{named},23198
| |-{named},23199
| `-{named},23200
|-ntpd,3669,ntp -u ntp:ntp -p /var/run/ntpd.pid -g
|-python,3335,sophosav -c import\040webui.savwebd,sys;sys.exit(webui.savwebd.main(sys.argv)) --daemon
|-rhnsd,4837 --interval 240
|-rpc.idmapd,3424
|-saslauthd,4122 -m /var/run/saslauthd -a pam
| |-saslauthd,4123 -m /var/run/saslauthd -a pam
| |-saslauthd,4124 -m /var/run/saslauthd -a pam
| |-saslauthd,4125 -m /var/run/saslauthd -a pam
| `-saslauthd,4126 -m /var/run/saslauthd -a pam
|-savd,3165 etc/savd.cfg
| |-(python,5796)
| |-savscand,5835 --incident=unix://tmp/incident --control=msq://0.1/0.2 --namedscan=unix://tmp/namedscansprocessor--ondemandcontrol=socketp
| | |-{savscand},5837
| | |-{savscand},5838
| | |-{savscand},5839
| | |-{savscand},5840
| | `-{savscand},5841
| |-savscand,5857 --incident=unix://tmp/incident --control=msq://0.1/0.2 socketpair://24/26 socketpair://30/32 socketpair://35/37socketpair:
| | |-{savscand},5858
| | |-{savscand},5859
| | |-{savscand},5860
| | `-{savscand},5861
| |-{savd},3166
| |-{savd},3167
| |-{savd},3168
| `-{savd},10756
|-smartd,4970 -q never
|-snmpd,3556 -Lsd -Lf /dev/null -p /var/run/snmpd.pid -a
| `-{snmpd},3559
|-spamd,27568
| |-spamd,14625,popuser
| `-spamd,15172,popuser
|-sshd,3599
| `-sshd,27327
| `-sshd,27331,rack
| `-bash,27332
| `-su,27357,root -
| `-bash,27358
| |-pstree,27734 -paul
| |-sed,27735 s/\([a-zA-Z/\.][a-zA-Z/\.-][a-zA-Z/\.-]*\)/\[\[\1\]\]/g
| `-sed,27736 s/$/<br>/
|-sw-cp-serverd,22377,sw-cp-server -f /etc/sw-cp-server/config
| |-sw-engine-cgi,22378,sso
| | |-sw-engine-cgi,22385
| | `-sw-engine-cgi,22386
| |-sw-engine-cgi,22387,sso
| | |-sw-engine-cgi,22390
| | `-sw-engine-cgi,22391
| |-sw-engine-cgi,22392,sso
| | |-sw-engine-cgi,22395
| | `-sw-engine-cgi,22396
| `-sw-engine-cgi,22397,sso
| |-sw-engine-cgi,22400
| `-sw-engine-cgi,22401
|-syslogd,19935 -m 0
|-udevd,846 -d
|-(watchdog/0,4)
|-(watchdog/1,7)
|-(watchdog/2,10)
|-(watchdog/3,13)
|-(watchdog/4,16)
|-(watchdog/5,19)
|-(watchdog/6,22)
|-(watchdog/7,25)
`-xinetd,3619 -stayalive -pidfile /var/run/xinetd.pid

Topic revision: r13 - 2012.03.07 - PaulReiber
 
Copyright © is by author. All material on this collaboration platform is the property of its contributing author.