使用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 0 worker_thr 00000000 S kworker/u8:1
root 32 2 0 0 rescuer_th 00000000 S suspend :?????
root 1726 2 0 0 rescuer_th 00000000 S writeback:管理存储设备的缓冲
root 1729 2 0 0 rescuer_th 00000000 S bioset :????
root 1730 2 0 0 rescuer_th 00000000 S crypto
root 1732 2 0 0 rescuer_th 00000000 S kblockd
root 1747 2 0 0 hub_thread 00000000 S khubd
root 1771 2 0 0 rescuer_th 00000000 S devfreq_wq
root 1795 2 0 0 down_inter 00000000 S osd_sync_monito
root 1886 2 0 0 down_inter 00000000 S gp_pll
root 1892 2 0 0 worker_thr 00000000 S kworker/0:1
root 1893 2 0 0 rescuer_th 00000000 S rpciod
root 1899 2 0 0 worker_thr 00000000 S kworker/0:1H
root 1900 2 0 0 worker_thr 00000000 S kworker/1:1
root 1934 2 0 0 watchdog 00000000 S khungtaskd
root 1940 2 0 0 kswapd 00000000 S kswapd0
root 1992 2 0 0 fsnotify_m 00000000 S fsnotify_mark
root 2017 2 0 0 ecryptfs_t 00000000 S ecryptfs-kthrea
root 2018 2 0 0 rescuer_th 00000000 S nfsiod
root 2165 2 0 0 rescuer_th 00000000 S eth_moniter_tx_
root 2197 2 0 0 rescuer_th 00000000 S uether
root 2202 2 0 0 rescuer_th 00000000 S kpsmoused
root 2220 2 0 0 rescuer_th 00000000 S dm_bufio_cache
root 2221 2 0 0 cpufreq_in 00000000 S cfinteractive
root 2222 2 0 0 do_null_ta 00000000 S NULL_task_for_h
root 2223 2 0 0 cpu_hotplu 00000000 S cpu_hotplug_gdb
root 2224 2 0 0 __kthread_ 00000000 R cpu_idle_gdbs
root 2235 2 0 0 rescuer_th 00000000 S binder
root 2237 2 0 0 rescuer_th 00000000 S hwbinder
root 2239 2 0 0 rescuer_th 00000000 S vndbinder
root 2256 2 0 0 worker_thr 00000000 S kworker/2:1
root 2262 2 0 0 msleep_int 00000000 S kthread_hdcp
root 2270 2 0 0 irq_thread 00000000 S irq/250-sd_emmc
root 2272 2 0 0 irq_thread 00000000 S irq/249-sd_emmc
root 2273 2 0 0 worker_thr 00000000 S kworker/u8:2
root 2277 2 0 0 ion_heap_d 00000000 S carveout_ion
root 2278 2 0 0 ion_heap_d 00000000 S vmalloc_ion
root 2279 2 0 0 ion_heap_d 00000000 S codec_mm_ion
root 2283 2 0 0 down_inter 00000000 S kthread_di
root 2290 2 0 0 down_inter 00000000 S ge2d_monitor
root 2318 2 0 0 irq_thread 00000000 S irq/76-vdec-1
root 2319 2 0 0 msleep 00000000 D vdec-core
root 2320 2 0 0 rescuer_th 00000000 S threadvdec
root 2342 2 0 0 encode_mon 00000000 S encode_monitor
root 2354 2 0 0 irq_thread 00000000 S irq/35-vsync
root 2379 2 0 0 mmc_queue_ 00000000 S mmcqd/0
root 2381 2 0 0 mmc_queue_ 00000000 S mmcqd/0boot0
root 2383 2 0 0 mmc_queue_ 00000000 S mmcqd/0boot1
root 2385 2 0 0 mmc_queue_ 00000000 S mmcqd/0rpmb
root 2447 2 0 0 rescuer_th 00000000 S hdmirx
root 2448 2 0 0 rescuer_th 00000000 S hdmirx
root 2449 2 0 0 rescuer_th 00000000 S hdmirx
root 2537 2 0 0 worker_thr 00000000 S kworker/3:1
root 2544 2 0 0 rescuer_th 00000000 S cec_work
root 2617 2 0 0 rescuer_th 00000000 S ipv6_addrconf
root 2624 2 0 0 rfcomm_run 00000000 S krfcommd
root 2629 2 0 0 rescuer_th 00000000 S deferwq
root 2645 1 2988 892 poll_sched 0008fbdc S /sbin/ueventd
root 2937 2 0 0 worker_thr 00000000 S kworker/0:2
root 3126 2 0 0 worker_thr 00000000 S kworker/3:1H
root 3131 2 0 0 kjournald2 00000000 S jbd2/mmcblk0p12
root 3132 2 0 0 rescuer_th 00000000 S ext4-rsv-conver
root 3139 2 0 0 kjournald2 00000000 S jbd2/mmcblk0p3-
root 3140 2 0 0 rescuer_th 00000000 S ext4-rsv-conver
root 3145 2 0 0 worker_thr 00000000 S kworker/2:1H
root 3146 2 0 0 kjournald2 00000000 S jbd2/mmcblk0p14
root 3147 2 0 0 rescuer_th 00000000 S ext4-rsv-conver
root 3151 2 0 0 kjournald2 00000000 S jbd2/mmcblk0p7-
root 3152 2 0 0 rescuer_th 00000000 S ext4-rsv-conver
root 3156 2 0 0 kjournald2 00000000 S jbd2/mmcblk0p8-
root 3157 2 0 0 rescuer_th 00000000 S ext4-rsv-conver
logd 3160 1 14244 3148 sigsuspend ed087b80 S /system/bin/logd
root 3165 2 0 0 kauditd_th 00000000 S kauditd
root 3166 1 5352 1604 __skb_recv eae6f798 S /system/bin/debuggerd
root 3167 1 14496 3392 hrtimer_na f0aef860 S /system/bin/vold
root 3168 3166 5096 432 __skb_recv eae709cc S debuggerd:signaller
root 3210 2 0 0 worker_thr 00000000 S kworker/u9:0
root 3218 1 3016 260 SyS_epoll_ 00057b88 S /sbin/healthd
root 3219 1 26820 5112 binder_thr ea0a697c S /system/bin/systemcontrol
root 3220 1 58284 32632 binder_thr ebc6297c S /system/bin/tvserver
root 3221 1 10884 1652 binder_thr e971997c S /system/bin/hdmi_cec
root 3222 1 4572 1448 SyS_epoll_ f21ae838 S /system/bin/lmkd
system 3223 1 4604 1564 binder_thr e8ecf97c S /system/bin/servicemanager
system 3224 1 80588 5808 SyS_epoll_ f1dbc838 S /system/bin/surfaceflinger
shell 3231 1 3552 1328 sigsuspend e829fb80 S /system/bin/sh
root 3239 1 4992 1740 poll_sched f0cc6a7c S /system/bin/pppoe_wrapper
root 3242 1 22340 6488 binder_thr f493597c S /system/bin/imageserver
root 3245 1 1517068 66624 poll_sched f33e6a24 S zygote
audioserver 3249 1 24652 6044 binder_thr f3c2497c S /system/bin/audioserver
cameraserver 3250 1 16356 4564 binder_thr f3ad897c S /system/bin/cameraserver
drm 3251 1 14880 4244 binder_thr f145297c S /system/bin/drmserver
root 3253 1 5116 1944 unix_strea f36899cc S /system/bin/installd
keystore 3254 1 7488 2552 binder_thr ed85497c S /system/bin/keystore
mediacodec 3255 1 18604 5960 binder_thr f425a97c S media.codec
media 3256 1 17504 5408 binder_thr f551a97c S /system/bin/mediadrmserver
mediaex 3257 1 63260 9132 binder_thr e962497c S media.extractor
media 3258 1 80036 9620 binder_thr e70c697c S /system/bin/mediaserver
root 3259 1 22988 2780 binder_thr f3e8397c S /system/bin/netd
system 3260 1 7240 2104 binder_thr ee06c97c S /system/bin/gatekeeperd
root 3261 1 4108 1400 hrtimer_na efdda860 S /system/xbin/perfprofd
root 3262 2 0 0 worker_thr 00000000 S kworker/1:1H
root 3386 2 0 0 irq_thread 00000000 S irq/64-parser
root 3387 2 0 0 rescuer_th 00000000 S threadrw
system 3543 3245 1670388 85500 SyS_epoll_ f33e6838 S system_server
bluetooth 3621 3245 972788 48644 SyS_epoll_ f33e6838 S com.android.bluetooth
media_rw 3668 3167 8244 1860 inotify_re ec5aa9cc S /system/bin/sdcard
u0_a21 3677 3245 974752 53948 SyS_epoll_ f33e6838 S com.android.systemui
system 3753 3245 973768 61340 SyS_epoll_ f33e6838 S com.droidlogic.tvinput
system 3776 3245 993524 47284 SyS_epoll_ f33e6838 S com.android.tv.settings
u0_a9 3811 3245 933916 35628 SyS_epoll_ f33e6838 S android.ext.services
root 3878 1 4884 488 poll_sched 0007439c S /sbin/adbd
u0_a1 3883 3245 937040 38552 SyS_epoll_ f33e6838 S com.android.providers.calendar
root 3908 2 0 0 scsi_error 00000000 S scsi_eh_0
root 3909 2 0 0 rescuer_th 00000000 S scsi_tmf_0
root 3910 2 0 0 usb_stor_c 00000000 S usb-storage
u0_a2 3917 3245 936832 40620 SyS_epoll_ f33e6838 S com.droidlogic.inputmethod.remote
system 3935 3245 939724 37780 SyS_epoll_ f33e6838 S com.droidlogic.PPPoE
u0_a22 3951 3245 939960 41460 SyS_epoll_ f33e6838 S com.android.providers.tv
system 3964 3245 942036 39940 SyS_epoll_ f33e6838 S com.droidlogic.SubTitleService
system 3982 3245 937108 35804 SyS_epoll_ f33e6838 S com.droidlogic.dig
u0_a12 4016 3245 946476 42904 SyS_epoll_ f33e6838 S com.android.tv
u0_a32 4038 3245 942124 39036 SyS_epoll_ f33e6838 S com.android.deskclock
system 4065 3245 971020 57356 SyS_epoll_ f33e6838 S com.droidlogic.mboxlauncher
root 4088 2 0 0 worker_thr 00000000 S kworker/1:2
root 4091 2 0 0 worker_thr 00000000 S kworker/3:2
root 4102 2 0 0 worker_thr 00000000 S kworker/u9:1
system 4107 3245 936036 35664 SyS_epoll_ f33e6838 S com.android.keychain
media_rw 4146 3167 8244 1852 inotify_re f27099cc S /system/bin/sdcard
u0_a7 4173 3245 941968 42512 SyS_epoll_ f33e6838 S android.process.media
system 4240 3245 935688 34328 SyS_epoll_ f33e6838 S com.droidlogic.readlog
u0_a4 4284 3245 1591716 34864 SyS_epoll_ f33e6838 S com.droidlogic.mediacenter
system 4307 3245 942740 37672 SyS_epoll_ f33e6838 S com.droidlogic.tv.settings
u0_a13 4347 3245 935600 34796 SyS_epoll_ f33e6838 S com.android.managedprovisioning
u0_a15 4363 3245 934652 34436 SyS_epoll_ f33e6838 S com.android.onetimeinitializer
u0_a26 4390 3245 934720 34636 SyS_epoll_ f33e6838 S com.droidlogic.BluetoothRemote
system 4435 3245 936284 36116 SyS_epoll_ f33e6838 S com.droidlogic.otaupgrade
u0_a38 4453 3245 1643972 50312 SyS_epoll_ f33e6838 S com.hpplay.happyplay.aw
system 4492 3245 964908 39168 SyS_epoll_ f33e6838 S com.android.settings
u0_a10 4515 3245 934956 35396 SyS_epoll_ f33e6838 S com.android.externalstorage
u0_a38 4582 3245 1603488 38044 SyS_epoll_ f33e6838 S com.hpplay.happyplay.aw:service1
u0_a38 4596 3245 1603488 37664 SyS_epoll_ f33e6838 S com.hpplay.happyplay.aw:service2