Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Apr 2007 23:06:16 -0700
From:      Julian Elischer <julian@elischer.org>
To:        Rong-en Fan <grafan@gmail.com>
Cc:        clsung@freebsd.org, current@freebsd.org
Subject:   Re: RFC: top displays jail id
Message-ID:  <46231258.5070208@elischer.org>
In-Reply-To: <6eb82e0704152113t1247b3a4tb8b0655291c8cceb@mail.gmail.com>
References:  <6eb82e0704152113t1247b3a4tb8b0655291c8cceb@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Rong-en Fan wrote:
> Hi all,
> 
> The patch at
> 
> http://people.freebsd.org/~rafan/top.diff
> 
> makes top display jail id by -j or 'j' key. This is originally created
> by clsung@ (thank you). For example,
> 
>  PID JID USERNAME     THR PRI NICE   SIZE    RES STATE  C   TIME   WCPU 
> COMMAN
> 89573   0 mysql         14   4    0   169M   145M sbwait 0  82:37  0.00% 
> mysqld
> 83920   4    106         2  96    0 81220K 72176K ucond  1  20:52  0.00% 
> clamd
> 62776   3 mysql          5  20    0 65428K 32364K kserel 0   7:27  0.00% 
> mysqld
> 55862   0 rafan          1  96    0 28644K 23952K select 0   4:39  0.00% 
> screen
> 10245   0 rafan          1  96    0 32816K 10736K select 0   3:46  0.00% 
> irssi
> 89643   0 wckao          1  96    0 21596K  6176K select 0   2:45  0.00% 
> irssi
> 34259   4 mysql          9  20    0 55716K 30180K kserel 0   2:26  0.00% 
> mysqld
> 25616   4 root           1  96    0 14404K  2580K select 0   2:11  0.00% 
> master
> 
> Now I know which mysqld is in jail. If no objections, I will commit to
> HEAD later
> today and merge to 6.x in 2 weeks.

how about ONLY showing processes in a particular jail?

> 
> Regards,
> Rong-En Fan
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46231258.5070208>