> 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?

> this will consume a lot of memory over time
Yes it does. Is that not a bug?
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