mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* bin/load_average: drop "cat", and just use awk, performance
improvement Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
parent
2cbbbe45fe
commit
448f953cd3
2 changed files with 4 additions and 2 deletions
|
@ -22,4 +22,4 @@ if [ "$1" = "--detail" ]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
printf "\005{= Yk}%s\005{-} " $(cat /proc/loadavg | cut -d " " -f -1)
|
printf "\005{= Yk}%s\005{-} " $(awk '{print $1}' /proc/loadavg)
|
||||||
|
|
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -32,8 +32,10 @@ byobu (2.12) unreleased; urgency=low
|
||||||
performance improvements
|
performance improvements
|
||||||
* bin/updates_available: drop "cat", and just use grep, performance
|
* bin/updates_available: drop "cat", and just use grep, performance
|
||||||
improvement
|
improvement
|
||||||
|
* bin/load_average: drop "cat", and just use awk, performance
|
||||||
|
improvement
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 16 Jun 2009 20:38:21 -0500
|
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 16 Jun 2009 20:46:37 -0500
|
||||||
|
|
||||||
byobu (2.11-0ubuntu1) karmic; urgency=low
|
byobu (2.11-0ubuntu1) karmic; urgency=low
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue