mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 06:23:19 -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
|
||||
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
|
||||
* bin/updates_available: drop "cat", and just use grep, performance
|
||||
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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue