system 20% busy at all times?
Eggert, Lars
lars at netapp.com
Tue Feb 19 09:45:02 UTC 2013
Hi,
On Feb 19, 2013, at 10:40, Fleuriot Damien <ml at my.gd>
wrote:
> What about reviewing top(1) ?
top shows the ~20% I mentioned:
last pid: 3176; load averages: 0.79, 0.80, 0.84 up 0+14:49:49 09:43:51
17 processes: 1 running, 16 sleeping
CPU: 0.0% user, 0.0% nice, 18.7% system, 0.0% interrupt, 81.3% idle
Mem: 32M Active, 9456K Inact, 196M Wired, 19M Buf, 15G Free
Swap:
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
3002 root 1 20 0 14264K 1664K select 0 0:02 0.00% powerd
2999 root 1 20 0 25120K 3304K select 3 0:01 0.00% ntpd
3084 root 1 20 0 81420K 6120K select 0 0:00 0.00% sshd
3094 root 1 20 0 17180K 3956K pause 1 0:00 0.00% csh
3062 root 1 21 0 17180K 3900K ttyin 2 0:00 0.00% csh
2867 root 1 20 0 14296K 2028K select 1 0:00 0.00% syslogd
2959 root 1 52 0 20500K 7512K rpcsvc 3 0:00 0.00% rpc.lockd
2943 root 1 20 0 16376K 2064K select 2 0:00 0.00% rpcbind
3061 root 1 20 0 47504K 2604K wait 3 0:00 0.00% login
2945 root 1 20 0 274M 7448K select 1 0:00 0.00% rpc.statd
3176 root 1 20 0 19608K 2996K CPU3 1 0:00 0.00% top
2676 root 1 20 0 9016K 4652K select 0 0:00 0.00% devd
3014 root 1 20 0 56152K 4964K select 2 0:00 0.00% sshd
2562 root 1 29 0 14416K 2224K select 1 0:00 0.00% dhclient
2629 _dhcp 1 20 0 14416K 2240K select 2 0:00 0.00% dhclient
3065 root 1 20 0 14528K 1708K select 2 0:00 0.00% netserver
2708 root 1 20 0 14232K 1568K select 2 0:00 0.00% rtsold
> or possibly ps(1) aufx
# ps -aufx
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
root 10 346.8 0.0 0 64 - RL 6:54PM 2862:46.43 [idle]
root 0 64.1 0.0 0 496 - DLs 6:54PM 694:47.32 [kernel]
root 1 0.0 0.0 9344 792 - ILs 6:54PM 0:00.09 /sbin/init --
root 2 0.0 0.0 0 16 - DL 6:54PM 0:00.00 [crypto]
root 3 0.0 0.0 0 16 - DL 6:54PM 0:00.00 [crypto returns]
root 4 0.0 0.0 0 16 - DL 6:54PM 0:00.00 [ctl_thrd]
root 5 0.0 0.0 0 16 - DL 6:54PM 0:00.00 [xpt_thrd]
root 6 0.0 0.0 0 16 - DL 6:54PM 0:00.00 [ipmi0: kcs]
root 7 0.0 0.0 0 16 - DL 6:54PM 0:00.04 [pagedaemon]
root 8 0.0 0.0 0 16 - DL 6:54PM 0:00.00 [pagezero]
root 9 0.0 0.0 0 16 - DL 6:54PM 0:00.15 [bufdaemon]
root 11 0.0 0.0 0 416 - WL 6:54PM 0:10.47 [intr]
root 12 0.0 0.0 0 48 - DL 6:54PM 0:00.03 [geom]
root 13 0.0 0.0 0 16 - DL 6:54PM 0:01.87 [yarrow]
root 14 0.0 0.0 0 256 - DL 6:54PM 0:00.50 [usb]
root 15 0.0 0.0 0 16 - DL 6:54PM 0:00.17 [vnlru]
root 16 0.0 0.0 0 16 - DL 6:54PM 0:00.56 [syncer]
root 17 0.0 0.0 0 16 - DL 6:54PM 0:00.21 [softdepflush]
root 42 0.0 0.0 0 16 - DL 6:54PM 0:00.03 [md0]
root 53 0.0 0.0 0 16 - DL 6:54PM 0:00.00 [md1]
root 120 0.0 0.0 0 16 - DL 6:54PM 0:00.00 [md2]
root 125 0.0 0.0 0 16 - DL 6:54PM 0:00.00 [md3]
root 2562 0.0 0.0 14416 2224 - Is 6:54PM 0:00.00 dhclient: em4 [priv] (dhclient)
_dhcp 2629 0.0 0.0 14416 2240 - Is 6:54PM 0:00.00 dhclient: em4 (dhclient)
root 2676 0.0 0.0 9016 4652 - Is 6:54PM 0:00.01 /sbin/devd
root 2708 0.0 0.0 14232 1568 - Is 6:54PM 0:00.00 /usr/sbin/rtsold -a
root 2867 0.0 0.0 14296 2028 - Ss 6:54PM 0:00.04 /usr/sbin/syslogd -s
root 2943 0.0 0.0 16376 2064 - Ss 6:54PM 0:00.03 /usr/sbin/rpcbind
root 2945 0.0 0.0 280472 7448 - Ss 6:54PM 0:00.02 /usr/sbin/rpc.statd
root 2959 0.0 0.0 20500 7512 - Ss 6:54PM 0:00.04 /usr/sbin/rpc.lockd
root 2999 0.0 0.0 25120 3304 - Ss 6:54PM 0:00.85 /usr/sbin/ntpd -g -c /etc/ntp.conf -p /var/run/ntpd.pid -f /var/db/ntpd.drift
root 3002 0.0 0.0 14264 1664 - Ss 6:54PM 0:01.61 /usr/sbin/powerd
root 3014 0.0 0.0 56152 4964 - Is 6:54PM 0:00.00 /usr/sbin/sshd -o PermitRootLogin=without-password
root 3065 0.0 0.0 14528 1708 - Is 6:54PM 0:00.00 netserver
root 3084 0.0 0.0 81420 6120 - Ss 9:21AM 0:00.09 sshd: root at pts/0 (sshd)
root 3061 0.0 0.0 47504 2604 u0 Is 6:54PM 0:00.02 login [pam] (login)
root 3062 0.0 0.0 17180 3900 u0 I+ 6:54PM 0:00.05 -csh (csh)
root 3094 0.0 0.0 17180 3956 0 Ss 9:32AM 0:00.05 -csh (csh)
root 3177 0.0 0.0 16436 1900 0 R+ 9:44AM 0:00.00 ps -aufx
> At least you should be able to see what takes up CPU:
> - system
> - user processes
> - interrupts
# vmstat -i
interrupt total rate
irq3: uart1 11535 0
irq4: uart0 1227 0
irq9: acpi0 1989762564 37379
irq16: uhci0 uhci1+ 393 0
cpu0:timer 32147924 603
irq270: em4 1907258 35
cpu3:timer 63027976 1184
cpu2:timer 56428246 1060
cpu1:timer 44799884 841
Total 2188087007 41104
So it seems that irq 9 is firing a whole lot. Why?
Thanks,
Lars
More information about the freebsd-current
mailing list