SMP teszt

ZahemszkyGábor Gabor at zahemszky.hu
Sun Jun 15 12:59:24 PDT 2003


Hi!

At the weekend, I've installed 5.1R on an IBM xSeries 225, dual Xeon-processor
machine.  Its integrated RAID-controller is supported by the mpt driver, and
the Gigabit Ethernet is supported by the bge driver. It's fine.  Both
processors are visible, and Hyper-Threading is visible, too.  I've got only
one question: how can I see the procesor utilization, (eg: the 0th
processor is running on 100%, and the 1st is on 0).  Are there any
standard (or ported) command line tool?

Thanks,

Zahy < Gabor at Zahemszky dot HU >

-- 
#!/bin/ksh
Z='21N16I25C25E30, 40M30E33E25T15U!' ;IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';set $Z ;for i { [[ $i = ? ]]&&print $i&&break;[[ $i = ??? ]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set $Z;for i { [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;j="$j $i";typeset +l i;};print "$j"


More information about the freebsd-smp mailing list