* profiles/common:

- decrease mem-used to run every 10 seconds
    - decrease disk-used to run every 30 seconds
    - decrease wifi_quality to run every 10 seconds
    - decrease release to run every 60 minutes, to handle dist upgrades
    - decrease processes to run every 10 seconds
    - increase hostname to run every 10 minutes, since its cheap
    - increase uptime to run every 30 seconds, since its cheap


Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
Dustin Kirkland 2009-06-16 20:31:23 -05:00
commit a71dbba4c2
2 changed files with 13 additions and 7 deletions

12
debian/changelog vendored
View file

@ -9,8 +9,14 @@ byobu (2.12) unreleased; urgency=low
all status scripts from *-* to *_*; this allows us to source the
~/.byobu/status file, rather than grepping through it for configuration
information, yielding significant performance improvements, LP: #386546
* profiles/common: drop mem-used to run every 10 seconds, and disk-used to
run every 30 seconds, and wifi_quality to run every 10 seconds
* profiles/common:
- decrease mem-used to run every 10 seconds
- decrease disk-used to run every 30 seconds
- decrease wifi_quality to run every 10 seconds
- decrease release to run every 60 minutes, to handle dist upgrades
- decrease processes to run every 10 seconds
- increase hostname to run every 10 minutes, since its cheap
- increase uptime to run every 30 seconds, since its cheap
* bin/wifi_quality: significant performance improvements, remove unneeded
route call, cache iwconfig output so that it's only called once
* bin/processes: improve performance by listing /proc (doubles the speed)
@ -25,7 +31,7 @@ byobu (2.12) unreleased; urgency=low
* bin/cpu-freq: drop "cat" and just use awk, don't printf twice,
performance improvements
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 16 Jun 2009 20:04:13 -0500
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 16 Jun 2009 20:28:35 -0500
byobu (2.11-0ubuntu1) karmic; urgency=low

View file

@ -36,20 +36,20 @@ backtick 105 86400 86400 byobu-status mem_available
backtick 106 2 2 byobu-status load_average
backtick 107 10 10 byobu-status mem_used
backtick 108 600 600 byobu-status ec2_cost
backtick 109 3600 3600 byobu-status hostname
backtick 109 600 600 byobu-status hostname
backtick 110 86400 86400 byobu-status whoami
backtick 111 86400 86400 byobu-status menu
backtick 112 86400 86400 byobu-status arch
backtick 113 30 30 byobu-status battery
backtick 114 10 10 byobu-status users
backtick 115 60 60 byobu-status uptime
backtick 116 2 2 byobu-status processes
backtick 115 30 30 byobu-status uptime
backtick 116 10 10 byobu-status processes
backtick 117 2 2 byobu-status network
backtick 118 86400 86400 true
backtick 119 10 10 byobu-status wifi_quality
backtick 120 86400 86400 byobu-status date
backtick 121 86400 86400 byobu-status time
backtick 122 3600 3600 byobu-status ip_address
backtick 122 600 600 byobu-status ip_address
backtick 123 86400 86400 byobu-status disk_available
backtick 124 30 30 byobu-status disk_used
backtick 125 30 30 byobu-status temp_c