mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* bin/cpu-count: performance improvement, use getconf
Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
parent
aebb481a00
commit
4981e35969
2 changed files with 5 additions and 4 deletions
|
@ -21,5 +21,5 @@ if [ "$1" = "--detail" ]; then
|
|||
grep -i "^model name" /proc/cpuinfo
|
||||
exit 0
|
||||
fi
|
||||
count=`grep -c "^processor.*:" /proc/cpuinfo`
|
||||
count=`getconf _NPROCESSORS_ONLN`
|
||||
[ "$count" = "1" ] || printf "%sx" "$count"
|
||||
|
|
7
debian/changelog
vendored
7
debian/changelog
vendored
|
@ -1,11 +1,12 @@
|
|||
byobu (2.9) unreleased; urgency=low
|
||||
|
||||
* bin/wifi-quality, bin/network-up, bin/network-down: must use /sbin
|
||||
in iwconfig and ifconfig paths
|
||||
* screen-launcher: slightly cleaner bash exit (still could use some
|
||||
improvement)
|
||||
* bin/wifi-quality, bin/network-up, bin/network-down: must use /sbin
|
||||
in iwconfig and ifconfig paths
|
||||
* bin/cpu-count: performance improvement, use getconf
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 08 Jun 2009 11:25:02 -0500
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 08 Jun 2009 11:27:52 -0500
|
||||
|
||||
byobu (2.8-0ubuntu1) karmic; urgency=low
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue