mirror of
https://github.com/xzeldon/htop.git
synced 2025-04-05 10:57:07 +03:00

Use the same method that ps and top use to determine if a process is a kernel thread on Linux: check if cmdline is empty. Thanks to @wangqr's investigation reported here: https://github.com/hishamhm/htop/issues/761#issuecomment-375306069 Fixes #761.