Hide kernel processes in top with LIBPROC_HIDE_KERNEL

2025-03-26 · Linux · TIL

LIBPROC_HIDE_KERNEL=1 top

Although the question has aged a bit, there is an interesting new approach: Since version 4 of the procps package, you can set the environment variable LIBPROC_HIDE_KERNEL. If set, ps(1) and top(1) will display user space processes, only.

Source: unix.stackexchange.com

  • ← macOS: set the default app for a file type with duti
  • vim: save to macOS clipboard →