Skip to content
midenok edited this page Oct 10, 2013 · 3 revisions

To find KDE4 processes do the following:

  1. Stop KDE4;
  2. Run:
ps -o pid,start_time,cmd afx > /tmp/ps1.txt
  1. Start KDE4;
  2. Run:
ps -o pid,start_time,cmd afx > /tmp/ps2.txt
diff -u /tmp/ps1.txt /tmp/ps2.txt| tee /tmp/ps_kde4.txt

Example list of KDE4 processes:

--- /tmp/ps3.txt        2013-10-03 13:56:59.966075898 +0400
+++ /tmp/ps4.txt        2013-10-03 13:58:00.494071660 +0400
@@ -169,15 +169,56 @@
  3364 ?        S      0:00 kdeinit4: klipper [kdeinit]                    
  3370 tty1     Ss+    0:00 /sbin/agetty --noclear tty1 38400 linux
  3508 ?        Ss     0:00 /usr/sbin/cupsd -f
  3534 ?        Rl     0:23 kdeinit4: konsole [kdeinit]                    
  3536 pts/1    Ss     0:00  \_ /bin/bash
  5539 pts/2    Ss+    0:00  \_ /bin/bash
+ 7692 pts/2    S+     0:00  |   \_ /bin/sh /usr/bin/startx /usr/bin/startkde -- /usr/bin/Xnest :15
+ 7711 pts/2    S+     0:00  |   |   \_ xinit /usr/bin/startkde -- /usr/bin/Xnest :15 -auth /home/test/.serverauth.7692 -nolisten tcp
+ 7712 pts/2    S      0:01  |   |       \_ /usr/bin/Xnest :15 -auth /home/test/.serverauth.7692 -nolisten tcp
+ 7715 ?        Ss     0:00  |   |       \_ /bin/sh /usr/bin/startkde
+ 7798 ?        S      0:00  |   |           \_ kwrapper4 ksmserver
+ 7693 pts/2    S+     0:00  |   \_ tee /home/test/.xsession-errors
  7458 pts/4    Ss     0:00  \_ /bin/bash
  3669 ?        Sl     0:00 /usr/lib/gvfs/gvfsd
  3673 ?        Sl     0:00 /usr/lib/gvfs//gvfsd-fuse -f /run/user/1001/gvfs
  3896 ?        S      0:00 /usr/bin/kwalletmanager --kwalletd
  7630 ?        S<l    0:00 /usr/bin/pulseaudio --start --log-target=syslog
+ 7758 ?        S      0:00 dbus-launch --sh-syntax --exit-with-session
+ 7759 ?        Ss     0:00 /bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
+ 7766 ?        S      0:00 /usr/lib64/kde4/libexec/start_kdeinit +kcminit_startup
+ 7767 ?        Ss     0:00 kdeinit4: kdeinit4 Running...                  
+ 7768 ?        S      0:00  \_ kdeinit4: klauncher [kdeinit] --fd=9           
+ 7799 ?        Sl     0:00  \_ kdeinit4: ksmserver [kdeinit]                  
+ 7804 ?        S      0:01  |   \_ kwin -session 101c613e16514f000137966376400000048370000_1380725999_340211
+ 7818 ?        S      0:00  \_ kdeinit4: kio_desktop [kdeinit] desktop local:/tmp/ksocket-test/klauncherhX7768.slave-s
+ 7841 ?        S      0:00  \_ kdeinit4: kio_file [kdeinit] file local:/tmp/ksocket-test/klauncherhX7768.slave-socket
+ 7937 ?        Sl     0:00  \_ kdeinit4: nepomukserver [kdeinit]              
+ 7940 ?        SNl    0:00  |   \_ /usr/bin/nepomukservicestub nepomukstorage
+ 7999 ?        Sl     0:00  \_ kdeinit4: dolphin [kdeinit] --icon system-file-manager -caption Dolphin
+ 8003 ?        Sl     0:00  \_ kdeinit4: kio_trash [kdeinit] trash local:/tmp/ksocket-test/klauncherhX7768.slave-socke
+ 8004 ?        S      0:00  \_ kdeinit4: kio_file [kdeinit] file local:/tmp/ksocket-test/klauncherhX7768.slave-socket
+ 8005 ?        Sl     0:00  \_ kdeinit4: kio_trash [kdeinit] trash local:/tmp/ksocket-test/klauncherhX7768.slave-socke
+ 7770 ?        Sl     0:00 kdeinit4: kded4 [kdeinit]                      
+ 7778 ?        S      0:00 kdeinit4: kglobalaccel [kdeinit]               
+ 7780 ?        S      0:00 kdeinit4: kwalletd [kdeinit]                   
+ 7782 ?        Sl     0:00 /usr/bin/kactivitymanagerd
+ 7797 ?        Sl     0:00 /usr/bin/knotify4
+ 7809 ?        Sl     0:02 kdeinit4: plasma-desktop [kdeinit]             
+ 7817 ?        S      0:00  \_ ksysguardd
+ 7813 ?        S      0:00 /usr/lib64/kde4/libexec/apper-pk-session
+ 7821 ?        Sl     0:00 /usr/bin/akonadi_control
+ 7823 ?        Sl     0:00  \_ akonadiserver
+ 7825 ?        Sl     0:00  |   \_ /usr/sbin/mysqld --defaults-file=/home/test/.local/share/akonadi/mysql.conf --datadir=/home/test/.local/share/akonadi/db_data/ --socket=/home/test/.local/share/akonadi/socket-linux-dgy4.site/mysql.socket
+ 7849 ?        S      0:00  \_ /usr/bin/akonadi_archivemail_agent --identifier akonadi_archivemail_agent
+ 7853 ?        S      0:00  \_ /usr/bin/akonadi_maildispatcher_agent --identifier akonadi_maildispatcher_agent
+ 7854 ?        S      0:00  \_ /usr/bin/akonadi_mailfilter_agent --identifier akonadi_mailfilter_agent
+ 7855 ?        S      0:00  \_ /usr/bin/akonadi_nepomuk_feeder --identifier akonadi_nepomuk_feeder
+ 7935 ?        Sl     0:00 kdeinit4: krunner [kdeinit]                    
+ 7941 ?        S      0:00 /usr/bin/nepomukcontroller -session 101c613e16514f000137966377300000048370007_1380725999_310051
+ 7945 ?        Sl     0:00 kdeinit4: kmix [kdeinit] -session 101c613e16514f000137966377300000048370011_1380725999_
+ 7983 ?        Sl     0:00 /usr/lib64/kde4/libexec/polkit-kde-authentication-agent-1
+ 7988 ?        S      0:00 kdeinit4: klipper [kdeinit]