kdeinit4's process name

Thiago Macieira thiago at kde.org
Tue Jan 20 10:47:26 GMT 2009


Em Terça-feira 20 Janeiro 2009, às 02:28:56, David Faure escreveu:
> On Tuesday 20 January 2009, John Tapsell wrote:
> > Is there a particular reason for the whole "Running..." thing?
>
> Yes, because there are so many other processes called "kdeinit4", which are
> simply spinoffs of kdeinit4.  "kdeinit4: kio_http", "kdeinit4: konqueror"
> etc. This one has to be recognizable as the "master" kdeinit4, running and
> waiting for orders.

I thought the other processes were "kio_http [kdeinit]", so that we could do 
"killall kio_http".

$ COLUMNS=75 ps axf | grep kdeinit4
11198 ?        Ss     0:00 kdeinit4: kdeinit4 Running...
11667 ?        S      0:00  \_ kdeinit4: kio_file [kdeinit] file local:/tmp
12142 ?        S      0:00  \_ kdeinit4: kio_trash [kdeinit] trash local:/t
12143 ?        S      0:00  \_ kdeinit4: kio_desktop [kdeinit] desktop loca
12650 ?        S      0:04  \_ kdeinit4: kio_imap4 [kdeinit] imaps local:/t
12892 ?        S      0:18  \_ kdeinit4: kio_imap4 [kdeinit] imap local:/tm
12893 ?        S      0:24  \_ kdeinit4: kio_imap4 [kdeinit] imap local:/tm
12894 ?        S      0:55  \_ kdeinit4: kio_imap4 [kdeinit] imap local:/tm
30976 ?        S      0:02  \_ kdeinit4: kio_file [kdeinit] file local:/tmp
16567 ?        S      0:10  \_ kdeinit4: kio_imap4 [kdeinit] imap local:/tm
17461 ?        S      0:00  \_ kdeinit4: kio_smtp [kdeinit] smtp local:/tmp
18161 pts/3    S+     0:00  |   \_ grep --color kdeinit4

$ pidof kdeinit4
11198

$ pidof kio_file
30976 11667

(How pidof and killall know to read the second argument, I have no clue)
-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Software Engineer - Nokia, Qt Software
  Qt Software is hiring - ask me
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090120/ede95844/attachment.sig>


More information about the kde-core-devel mailing list