Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[console-kit-daemon] Nombreux threads. (résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
pknzeta
n00b
n00b


Joined: 22 Sep 2008
Posts: 22

PostPosted: Mon Jan 05, 2009 10:41 am    Post subject: [console-kit-daemon] Nombreux threads. (résolu) Reply with quote

Bonjour à tous, les gentooistes francophones,
alors voilà j'ai une petite question, je suis en train de développer un petit gestionnaire de process et je remarque un détail étrange, j'ai rajouté une fonctionnalité pour connaître le nombre de threads qu'un process lance, et il appairait que j'ai console-kit-daemon qui lance 63 threads, ça me semble excessif.

Code:
Name:   console-kit-dae
State:   S (sleeping)
Tgid:   4035
Pid:   4035
PPid:   1
TracerPid:   0
Uid:   0   0   0   0
Gid:   0   0   0   0
FDSize:   64
Groups:   0 1 2 3 4 6 10 11 20 26 27
VmPeak:      28844 kB
VmSize:      28784 kB
VmLck:          0 kB
VmHWM:       2536 kB
VmRSS:       2536 kB
VmData:       4636 kB
VmStk:         84 kB
VmExe:        120 kB
VmLib:       3380 kB
VmPTE:         72 kB
Threads:   63
SigQ:   0/12287
SigPnd:   0000000000000000
ShdPnd:   0000000000000000
SigBlk:   0000000000000000
SigIgn:   0000000000001000
SigCgt:   0000000180000200
CapInh:   0000000000000000
CapPrm:   fffffffffffffeff
CapEff:   fffffffffffffeff
CapBnd:   fffffffffffffeff
voluntary_ctxt_switches:   24
nonvoluntary_ctxt_switches:   154


qu'en pensez vous, est-ce normal?
et puis d'abord c'est quoi console-kit-daemon?

merci, d'éclairer ma lanterne...

edit: bon, il semblerais que je m'affole pour rien, et que c'est le comportement attendu pour console-kit-daemon, enfin merci pour vos non-réponses :)
Back to top
View user's profile Send private message
DuF
Advocate
Advocate


Joined: 09 Dec 2002
Posts: 2687
Location: Paris

PostPosted: Wed Jan 07, 2009 12:03 am    Post subject: Reply with quote

Bonjour,

Je ne sais pas c'est quoi console-kit-daemon mais par contre pourrais-tu m'indiquer comment tu obtiens la sortie que tu as copié/collé et toutes les infos qui vont avec ?

Par avance, merci.
Back to top
View user's profile Send private message
guilc
Bodhisattva
Bodhisattva


Joined: 15 Nov 2003
Posts: 3326
Location: Paris - France

PostPosted: Wed Jan 07, 2009 7:04 am    Post subject: Reply with quote

C'est /proc/$pid/status :)

Après, le pourquoi du comment, aucune idée. Ce truc tourne pas chez moi.
_________________
Merci de respecter les règles du forum.

Mon site perso : https://www.xwing.info
Mon PORTDIR_OVERLAY : https://gentoo.xwing.info ou layman -a xwing
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum