[PATCH] Re: Threads in top

Daniel Eischen eischen at vigrid.com
Thu Jul 17 14:44:52 PDT 2003


On Thu, 17 Jul 2003, Jung-uk Kim wrote:

> This is revised version of the patch.  The previous version was
> made in haste.  It's actually one-line-style-change(TM) and
> functionally the same. ;-)

[ ... ]

> @@ -214,8 +214,9 @@
>  #define CMD_idletog2    13
>  #define CMD_user	14
>  #define CMD_selftog	15
> +#define CMD_thrtog	16
>  #ifdef ORDER
> -#define CMD_order       16
> +#define CMD_order       17
>  #endif
>  
>      /* set the buffer for stdout */
> @@ -245,6 +246,7 @@
>      ps.self    = -1;
>      ps.system  = No;
>      ps.uid     = -1;
> +    ps.thread  = Yes;

Can you make showing threads No by default?  I know the
current top shows threads by default, but I don't think
it should.

-- 
Dan Eischen



More information about the freebsd-threads mailing list