[ale] ps without threads

David Corbin dcorbin at enttek.com
Thu Nov 4 17:05:31 EST 2004


On Thursday 04 November 2004 04:36 pm, Michael D. Hirsch wrote:
> > > ~    It's a bit odd that your ps defaults to showing threads as
> > > processes; what is your platform, distro and shell?
> >
> > i386, Debian/Gentoo, bash
>
> Maybe there is a newer ps for you?  That's what ps used to do for me, but
> it now has the new feature.  I suspect it depends on the new threading
> model used in kernel 2.6.
>
> I get ver different results according to where I pass the -m flag:
> [1021] hirsch>ps -efwww| grep java | wc
>       2      42     440
> [1022] hirsch>ps -emfwww| grep java | wc
>      25     801    9226

I'm reasonably up-to-date (< 3 months) as far as gentoo is concerned, and I'm 
running 2.6.

I get the same results for both commands:

[dcorbin at matrix ~] ps -V
procps version 3.2.3


>
> Apparently eclips has 24 threads.
>
> Michael



More information about the Ale mailing list