使用PS查一下整个系统都有哪些进程在干活
USER PID PPID VSIZE RSS WCHAN PC NAME
root 1 0 8648 1468 SyS_epoll_ 0008fb3c S /init :系统启动后第一调用的进程,通过调用init.rc脚本root 2 0 0 0 kthreadd 00000000 S kthreadd : 并始终运行在内核空间, 负责所有内核线程的调度和管理
root 3 2 0 0 smpboot_th 00000000 S ksoftirqd/0 :内核中的软中断处理进程,一个处理器对应一个
root 4 2 0 0 worker_thr 00000000 S kworker/0:0 : 延迟执行的工作进程,如何工作呢?
root 5 2 0 0 worker_thr 00000000 S kworker/0:0H
root 6 2 0 0 worker_thr 00000000 S kworker/u8:0
root 7 2 0 0 rcu_gp_kth 00000000 S rcu_preempt : linux读写锁,如何工作呢?
root 8 2 0 0 rcu_gp_kth 00000000 S rcu_sched
root 9 2 0 0 rcu_gp_kth 00000000 S rcu_bh
root 10 2 0 0 smpboot_th 00000000 S migration/0 : 进程迁移,能达到处理器的 负载平衡,每一个处理器对应一个进程
root 11 2 0 0 smpboot_th 00000000 S watchdog/0:看门狗进程,每个处理器一个
root 12 2 0 0 smpboot_th 00000000 S watchdog/1
root 13 2 0 0 smpboot_th 00000000 S migration/1
root 14 2 0 0 smpboot_th 00000000 S ksoftirqd/1
root 15 2 0 0 worker_thr 00000000 S kworker/1:0
root 16 2 0 0 worker_thr 00000000 S kworker/1:0H
root 17 2 0 0 smpboot_th 00000000 S watchdog/2
root 18 2 0 0 smpboot_th 00000000 S migration/2
root 19 2 0 0 smpboot_th 00000000 S ksoftirqd/2
root 20 2 0 0 worker_thr 00000000 S kworker/2:0
root 21 2 0 0 worker_thr 00000000 S kworker/2:0H
root 22 2 0 0 smpboot_th 00000000 S watchdog/3
root 23 2 0 0 smpboot_th 00000000 S migration/3
root 24 2 0 0 smpboot_th 00000000 S ksoftirqd/3
root 25 2 0 0 worker_thr 00000000 S kworker/3:0
root 26 2 0 0 worker_thr 00000000 S kworker/3:0H
root 27 2 0 0 rescuer_th 00000000 S khelper: 内核帮助进程,如何工作?
root 28 2 0