faster load average for SunOS

This commit is contained in:
Michel Barret 2012-08-11 11:42:29 +02:00 committed by nojhan
parent 6cd841ee1f
commit b9223d3404

View File

@ -209,7 +209,7 @@ __load_Darwin()
__load_SunOS() __load_SunOS()
{ {
load=$(LANG=C uptime | awk '{print $10}'| sed -e 's/,//') load=$(LANG=C uptime | awk '{print substr($10,0,length($10))}')
echo -n "$load" echo -n "$load"
} }