Tru64 Unix
1753529 會員
4823 線上
108795 解決方案
發表新文章

ps -ef and ps aux 看到的daemon數量不一樣多

 
watermelonyu
教授

ps -ef and ps aux 看到的daemon數量不一樣多

我用ps -ef 看到的數量與ps aux不一樣

去找了一下發現

ps aux 多了十幾個kproc,用ps -ef卻找不到半個kproc的daemon

請問這怎麼解釋

# ps aux |grep kproc

root 516 99.0 3.0 12 15964 - A Sep 02 45237:27 kproc

root 1290 0.0 3.0 64 16016 - A Sep 02 10:16 kproc

root 1032 0.0 3.0 16 15968 - A Sep 02 0:20 kproc

root 11356 0.0 3.0 16 15968 - A Sep 02 0:03 kproc

root 1548 0.0 3.0 16 15968 - A Sep 02 0:03 kproc

root 8514 0.0 3.0 20 15972 - A Sep 02 0:01 kproc

root 18926 0.0 3.0 16 15968 - A Sep 14 0:00 kproc

root 2850 0.0 3.0 16 15968 - A Sep 02 0:00 kproc

root 774 0.0 3.0 12 15964 - A Sep 02 0:00 kproc

root 19320 0.0 0.0 204 244 pts/0 A 10:03:05 0:00 grep kproc

root 8772 0.0 3.0 16 15968 - A Sep 02 0:00 kproc

root 4400 0.0 3.0 16 15968 - A Sep 02 0:00 kproc

root 6486 0.0 3.0 16 15968 - A Sep 02 0:00 kproc
3則回覆 3
watermelonyu
教授

ps -ef and ps aux 看到的daemon數量不一樣多

Hi Joey,



The process "kproc" is the kernel's idle process that found on IBM AIX system and it means the system has 12 CPUs (kproc).



We don't see the process exist on Alpha Tru64 UNIX. Please collect more informations via the command "sys_check -all > check.html" if I'm wrong.



Best regards,

Richard.

watermelonyu
教授

ps -ef and ps aux 看到的daemon數量不一樣多

you are right,this is a aix system

but not 12 CPUs

Number Of Processors:1
watermelonyu
教授

ps -ef and ps aux 看到的daemon數量不一樣多

Hi Joey,



Please see the attachment .pdf.



> When displaying the active process table, you may notice

> a set of processes listed as kproc under the command column.

> These are a special set of kernel processes that collect

> accounting data for system overhead. One kproc process in

> particular usually displays a very high CPU utilization. No

> need to panic; this process collects system wait and idle time

> and represents it in the ps CPU fields (see Figure 1).



And please contact with IBM for the detailed "kproc" infos.



Best regards,

Richard.