faq7.html#tmux makes the example of

  set -g status-right '#(sysctl vm.loadavg)'

which "puts the current load average on the right side".
_current_ here means the load averages in the moment
the tmux session was started; these numbers stay the
same throughout the life of the session, while the load
averages of course change.

I think it would make a better example with

  set -g status-interval 5
        
or similar added to the configuration.

        Jan


Index: faq7.html
===================================================================
RCS file: /cvs/www/faq/faq7.html,v
retrieving revision 1.91
diff -u -p -u -p -r1.91 faq7.html
--- faq7.html   1 May 2013 13:16:32 -0000       1.91
+++ faq7.html   4 Sep 2013 16:15:22 -0000
@@ -745,13 +745,16 @@ Let's look at some examples customising 
 
 <blockquote><pre>
 set -g status-bg blue
+set -g status-interval 5
 set -g status-right '#(sysctl vm.loadavg)'
 setw -g window-status-current-attr underscore
 </pre></blockquote>
 
 <p>
-Putting these three commands in .tmux.conf and restarting tmux changes the
-status line background to blue, puts the current load average on the right side
+Putting these four commands in .tmux.conf and restarting tmux
+changes the status line background to blue,
+makes the status bar update every 5 seconds,
+puts the current load average on the right side
 and underlines the current window.
 The status line may be turned off entirely with:

Reply via email to