On Fri, Oct 15, 2010 at 03:34:07PM +0200, marcel partap wrote:
> >you never need to call date because status-left/right are passed through
> >strftime anyway,
> Oh cool, that kinda solves the problem. This does the job for me:
> >set -g status-right "[ #[fg=magenta]#(cat /proc/loadavg | cut -d \" \" -f 
> >1)#[default] ][ #[bold]%X #[fg=blue]%a %x#[default] ]"
> With this, no zombies are left behind.
> 
> >if you do, tmux will start a new job instead of reusing
> >the old one because the command changes each time
> But well, how is it that with date, zombies accumulate and the above cat | 
> cut construct does not result in such behaviour?

dunno, they should be collected

> >this will consume a lot of memory over time
> Yes it does. Is that not a bug?

not really, configuration issue. might be nice to limit time a
persistent job can hang around

> Anyways, i now can fully deploy tmux and replace screen on all machines under 
> my command. THX ;)

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to