Core Duo - only one cpu being used

Erich Dollansky oceanare at pacific.net.sg
Fri May 5 04:11:12 UTC 2006


Hi,

this is hard to believe.

Just add -S to the command line or enter S while top is running.

Top should show you then on top the two idle threads.

Erich

Eric Anderson wrote:
> Erich Dollansky wrote:
>> Hi,
>>
>> Eric Anderson wrote:
>>>
>>> All processes are on cpu 0.  Output of sysctl dev.cpu shows:
>>
>> can you show all tasks running?
>>
>> Erich
> 
> 
> last pid: 33015;  load averages:  1.20,  1.08,  1.08                     
> up 0+02:35:03  22:19:55
> 98 processes:  4 running, 94 sleeping
> CPU states: 19.7% user,  0.0% nice, 28.9% system,  1.3% interrupt, 50.1% 
> idle
> Mem: 388M Active, 251M Inact, 132M Wired, 11M Cache, 110M Buf, 206M Free
> Swap: 2048M Total, 2048M Free
> 
>   PID USERNAME    THR PRI NICE   SIZE    RES STATE  C   TIME   WCPU COMMAND
> 33010 root          1 102    0  4984K  4364K RUN    0   0:06 27.21% bzip2
> 33012 anderson      1 100    0  1296K   636K RUN    0   0:04 21.09% cat
> 33014 anderson      1 100    0  1296K   636K RUN    0   0:03 19.97% cat
> 33013 anderson      1  -8    0  1356K   708K piperd 0   0:01  3.72% md5
> 33015 anderson      1  -8    0  1356K   708K piperd 0   0:01  3.14% md5
> 33011 root          1  -8    0  1736K  1224K piperd 0   0:01  2.36% bsdtar
>   861 anderson      1  96    0   115M 89532K select 0   2:24  1.12% Xorg
>   592 root          1   8    0  1348K   872K nanslp 0   1:24  0.05% powerd
>   958 anderson      5  20    0   109M 96828K kserel 0   3:04  0.00% 
> firefox-bin
>   922 anderson      1  96    0 19604K 14992K select 0   1:48  0.00% 
> xfce4-panel
>   932 anderson      6  20    0 79688K 65352K kserel 0   0:45  0.00% 
> thunderbird-bin
>   909 anderson      1  96    0 29416K 16044K select 0   0:24  0.00% kdeinit
> 28378 root          1   8    0 31388K 30912K wait   0   0:19  0.00% ruby18
>   920 anderson      1  96    0 16520K 11356K select 0   0:06  0.00% 
> xfdesktop
>  1039 anderson      1  96    0  6388K  4752K select 0   0:04  0.00% xterm
>   559 root          1  96    0  1448K   872K select 0   0:03  0.00% bthidd
>   870 anderson      1  96    0 27000K 17472K select 0   0:03  0.00% gaim
>  1037 anderson      1  96    0  7916K  5824K select 0   0:02  0.00% nedit
>   888 anderson      1  96    0 18600K 13752K select 0   0:02  0.00% 
> xfce4-session
>   916 anderson      1  96    0 14592K 10344K select 0   0:02  0.00% xfwm4
>   897 anderson      1  96    0 14404K  8460K select 0   0:02  0.00% 
> xfce-mcs-manager
>   918 anderson      1  96    0 13116K  8968K select 0   0:01  0.00% 
> xftaskbar4
>   869 anderson      1  96    0  6820K  5080K select 0   0:01  0.00% xterm
> 25663 anderson      1  96    0  5540K  3904K select 0   0:01  0.00% xterm
>  1192 anderson      1  96    0  6128K  4492K select 0   0:01  0.00% xterm
>   235 root          1  96    0  3056K  1684K select 0   0:00  0.00% 
> wpa_supplicant
>   630 root          1  96    0  2620K  1952K select 0   0:00  0.00% httpd
> 68119 anderson      1  96    0  6244K  4548K select 0   0:00  0.00% xterm
> 92204 anderson      1  96    0  5536K  3848K select 0   0:00  0.00% xterm
>   901 anderson      1  97    0 25284K 11308K select 0   0:00  0.00% kdeinit
>   683 root          1  96    0  3712K  2404K select 0   0:00  0.00% 
> sendmail
> 68120 anderson      1  96    0  3900K  2416K select 0   0:00  0.00% ssh
>   934 anderson      1  96    0  4360K  2880K select 0   0:00  0.00% 
> gconfd-2
>  1193 anderson      1   5    0  3360K  1924K ttyin  0   0:00  0.00% bash
> 32933 root          1   8    0  1624K  1476K wait   0   0:00  0.00% make
> 25666 root          1   5    0  3276K  1824K ttyin  0   0:00  0.00% bash
> 30424 anderson      1  96    0  5536K  4192K select 0   0:00  0.00% xterm
>   889 anderson      1   8    0  3348K  1908K wait   0   0:00  0.00% bash
> 29892 anderson      1  96    0  2600K  1696K CPU0   0   0:00  0.00% top
>   480 root          1  96    0  1412K   924K select 0   0:00  0.00% syslogd
>   904 anderson      1  96    0 24004K 10172K select 0   0:00  0.00% kdeinit
>   907 anderson      1  96    0 24600K 10772K select 0   0:00  0.00% kdeinit
> 92205 anderson      1   5    0  3308K  1876K ttyin  0   0:00  0.00% bash
>   694 root          1   8    0  1428K  1028K nanslp 0   0:00  0.00% cron
>   924 anderson      1   8    0  1768K  1136K wait   0   0:00  0.00% sh
>   785 root          1   8    0  1748K  1256K wait   0   0:00  0.00% login
> 30453 anderson      1   5    0  3308K  1920K ttyin  0   0:00  0.00% bash
>   830 anderson      1   8    0  3320K  1864K wait   0   0:00  0.00% bash
>  1040 anderson      1   8    0  3344K  1908K wait   0   0:00  0.00% bash
> 25664 anderson      1   8    0  3308K  1872K wait   0   0:00  0.00% bash
>  1043 root          1   8    0  3304K  1852K wait   0   0:00  0.00% bash
>   936 anderson      1   8    0  1768K  1136K wait   0   0:00  0.00% sh
>   616 root          1  96    0  1320K   768K select 0   0:00  0.00% usbd
> 25665 anderson      1   8    0  1728K  1244K wait   0   0:00  0.00% su
>  1042 anderson      1   8    0  1728K  1236K wait   0   0:00  0.00% su
>   871 anderson      1   8    0  1764K  1060K wait   0   0:00  0.00% sh
> 32932 root          1 105    0  1376K   784K select 0   0:00  0.00% script
>   242 root          1  96    0  1500K   988K select 0   0:00  0.00% 
> dhclient
>   841 anderson      1   8    0  1792K  1108K wait   0   0:00  0.00% sh
>   248 _dhcp         1  96    0  1500K  1040K select 0   0:00  0.00% 
> dhclient
>   687 smmsp         1  20    0  3592K  2176K pause  0   0:00  0.00% 
> sendmail
>   575 root          1 117    0  1384K   880K select 0   0:00  0.00% lpd
>   864 anderson      1   8    0  1756K  1056K wait   0   0:00  0.00% sh
>   954 anderson      1   8    0  1784K  1152K wait   0   0:00  0.00% sh
>   928 anderson      1   8    0  1784K  1152K wait   0   0:00  0.00% sh
>   860 anderson      1   8    0  2152K  1252K wait   0   0:00  0.00% xinit
>   792 root          1   5    0  1384K   852K ttyin  0   0:00  0.00% getty
>   789 root          1   5    0  1384K   852K ttyin  0   0:00  0.00% getty
>   787 root          1   5    0  1384K   852K ttyin  0   0:00  0.00% getty
>   791 root          1   5    0  1384K   852K ttyin  0   0:00  0.00% getty
>   790 root          1   5    0  1384K   852K ttyin  0   0:00  0.00% getty
>   786 root          1   5    0  1384K   852K ttyin  0   0:00  0.00% getty
>   788 root          1   5    0  1384K   852K ttyin  0   0:00  0.00% getty
>   768 root          1 116    0  1504K  1052K select 0   0:00  0.00% inetd
> 33008 root          1   8    0  1760K  1052K wait   0   0:00  0.00% sh
>   840 anderson      1   8    0  3324K  1868K wait   0   0:00  0.00% bash
>   606 nobody        1 112    0  1384K   904K select 0   0:00  0.00% sdpd
>   885 anderson      1  96    0  2284K  1264K select 0   0:00  0.00% 
> dbus-launch
>   677 root          1 116    0  3676K  1932K select 0   0:00  0.00% sshd
>   914 anderson      1  96    0  2928K  1340K select 0   0:00  0.00% 
> gnome-keyring-daemo
>   555 root          1   4    0  1424K   796K sbwait 0   0:00  0.00% hcsecd
>   880 anderson      1  96    0  3384K  1700K select 0   0:00  0.00% 
> ssh-agent
>   793 www           1   4    0  2632K  1956K accept 0   0:00  0.00% httpd
>   408 root          1  96    0   516K   300K select 0   0:00  0.00% devd
> 33009 root          1   8    0  1760K  1052K wait   0   0:00  0.00% sh
>   794 www           1   4    0  2632K  1956K accept 0   0:00  0.00% httpd
>   886 anderson      1  97    0  2704K  1020K select 0   0:00  0.00% 
> dbus-daemon
>   170 root          1  20    0  1284K   660K pause  0   0:00  0.00% 
> adjkerntz
>   742 root          1 111    0  1376K   720K select 0   0:00  0.00% moused
> 
> 
> 
> 
> 
> 
> 


More information about the freebsd-hackers mailing list