Date: Wed, 16 Jul 2003 16:32:37 -0700 (PDT) From: Julian Elischer <julian@elischer.org> To: Kai Mosebach <kai.mosebach@freshx.de> Cc: freebsd-threads@freebsd.org Subject: Re: AW: Threads in top Message-ID: <Pine.BSF.4.21.0307161606120.95495-100000@InterJet.elischer.org> In-Reply-To: <000a01c34beb$dcb011b0$0100000a@alpha>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 17 Jul 2003, Kai Mosebach wrote: > I wonder then, that i only see "0.00%"-threads hanging around, making > top nearly useless :| there is a bit that can be set in the sysctl that allows the kernel to produce only one line per process.. I guess top should use it.. btw why on earth did you call your program "kernel"? :-) to see just processes, change KERN_PROC_ALL in machine.c /usr/src/usr.bin/top to KERN_PROC_PROC of course if you didn't define them all as system scope threads, you'd not see them all, just the active ones. >=20 > regards >=20 > last pid: 13568; load averages: 1.54, 1.38, 1.33 > up 0+09:53:22 00:34:21 > 172 processes: 4 running, 167 sleeping, 1 zombie > CPU states: 76.9% user, 0.0% nice, 11.5% system, 3.8% interrupt, 7.7% > idle > Mem: 435M Active, 421M Inact, 100M Wired, 39M Cache, 111M Buf, 2912K > Free > Swap: 588M Total, 232K Used, 587M Free >=20 > PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU > COMMAND > 12893 root 130 0 297M 255M RUN 160:07 73.49% 73.49% kernel > 892 root 99 0 70740K 68716K RUN 43:29 6.01% 6.01% mlnet > 513 root 98 0 3540K 2136K RUN 27:38 4.39% 4.39% ppp > 13149 root 96 0 2412K 1388K RUN 1:31 0.05% 0.05% top > 12893 root 96 0 297M 255M select 160:07 0.00% 0.00% kernel > 12893 root 20 0 297M 255M kserel 160:07 0.00% 0.00% kernel > 12893 root 20 0 297M 255M kserel 160:07 0.00% 0.00% kernel > 12893 root 20 0 297M 255M kserel 160:07 0.00% 0.00% kernel > 12893 root 20 0 297M 255M kserel 160:07 0.00% 0.00% kernel > 12893 root 20 0 297M 255M kserel 160:07 0.00% 0.00% kernel > 12893 root 20 0 297M 255M kserel 160:07 0.00% 0.00% kernel > 12893 root 20 0 297M 255M kserel 160:07 0.00% 0.00% kernel > 12893 root 20 0 297M 255M kserel 160:07 0.00% 0.00% kernel > 12893 root 20 0 297M 255M kserel 160:07 0.00% 0.00% kernel > 12893 root 20 0 297M 255M kserel 160:07 0.00% 0.00% kernel > 12893 root 20 0 297M 255M kserel 160:07 0.00% 0.00% kernel > 12893 root 20 0 297M 255M kserel 160:07 0.00% 0.00% kernel > 12893 root 20 0 297M 255M kserel 160:07 0.00% 0.00% kernel > 12893 root 20 0 297M 255M kserel 160:07 0.00% 0.00% kernel > 12893 root 20 0 297M 255M kserel 160:07 0.00% 0.00% kernel > 12893 root 20 0 297M 255M kserel 160:07 0.00% 0.00% kernel > 12893 root 20 0 297M 255M kserel 160:07 0.00% 0.00% kernel > 12893 root 20 0 297M 255M kserel 160:07 0.00% 0.00% kernel > 12893 root 20 0 297M 255M kserel 160:07 0.00% 0.00% kernel > 12893 root 20 0 297M 255M kserel 160:07 0.00% 0.00% kernel > 12893 root 20 0 297M 255M kserel 160:07 0.00% 0.00% kernel > 12893 root 20 0 297M 255M kserel 160:07 0.00% 0.00% kernel > 12893 root 20 0 297M 255M kserel 160:07 0.00% 0.00% kernel > 12893 root 20 0 297M 255M kserel 160:07 0.00% 0.00% kernel > 12893 root 20 0 297M 255M kserel 160:07 0.00% 0.00% kernel > 12893 root 20 0 297M 255M kserel 160:07 0.00% 0.00% kernel > 12893 root 20 0 297M 255M kserel 160:07 0.00% 0.00% kernel > 12893 root 20 0 297M 255M kserel 160:07 0.00% 0.00% kernel > 12893 root 20 0 297M 255M kserel 160:07 0.00% 0.00% kernel >=20 > > -----Urspr=FCngliche Nachricht----- > > Von: Julian Elischer [mailto:julian@elischer.org] > > Gesendet: Donnerstag, 17. Juli 2003 00:31 > > An: Petri Helenius > > Cc: Kai Mosebach; freebsd-threads@freebsd.org > > Betreff: Re: Threads in top > >=20 > >=20 > >=20 > > On Wed, 16 Jul 2003, Petri Helenius wrote: > >=20 > > > > > > > > Well, you see all teh thrteads in libthr, and in > > > > libkse you see all the active kernel contexts, (which > > > > is not the same as the threads, as totally idle threads > > > > will not show up.) >=20 >=20 >=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0307161606120.95495-100000>