* bin/processes: improve performance by listing /proc (doubles the speed)

Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
Dustin Kirkland 2009-06-16 16:11:07 -05:00
commit db090a72b1
2 changed files with 3 additions and 3 deletions

View file

@ -22,4 +22,4 @@ if [ "$1" = "--detail" ]; then
exit 0
fi
printf "\005{= yk}%s&\005{-} " $(ps -e | wc -l)
printf "\005{= yk}%s&\005{-} " $(ls -d /proc/[0-9]* | wc -l)

4
debian/changelog vendored
View file

@ -13,9 +13,9 @@ byobu (2.12) unreleased; urgency=low
run every 30 seconds, and wifi_quality to run every 10 seconds
* 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)
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 16 Jun 2009 15:35:30 -0500
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 16 Jun 2009 16:10:36 -0500
byobu (2.11-0ubuntu1) karmic; urgency=low