User Tools

Site Tools


general:linux:list_kernel_non-kernel_processes

List only kernel processes (by listing kthreadd and it's child processes)

ps --ppid 2 -p 2
ps --ppid 2 -p 2 -F

List only non-kernel processes (by excluding kthreadd and it's child processes)

ps --ppid 2 -p 2 --deselect
ps --ppid 2 -p 2 --deselect -F
ps --ppid 2 -p 2 --deselect | sort -k 4
general/linux/list_kernel_non-kernel_processes.txt · Last modified: 2020/11/17 19:47 by sunkan

Donate Powered by PHP Valid HTML5 Valid CSS Run on Debian Driven by DokuWiki