Notice that top changed on FreeBSD 7.3-RELEASE/STABLE so the script needs to be updated to reflect it.
Namely, change from
Code:
__freebsd() {
top -s ${DELAY} -d 2 0 \
| grep -m 1 CPU \
| sed 's/,//g' \
| awk '{ print $2": "$3" | "$4": "$5" | "$6": "$7" | "$8": "$9" | "$10": "$11 }'
}
to
Code:
__freebsd() {
top -s ${DELAY} -d 2 0 \
| grep -m 1 CPU \
| sed 's/,//g' \
| awk '{ print $4": "$3" | "$6": "$5" | "$8": "$7" | "$10": "$9" | "$12": "$11 }'
}