Linux Processes Cheat Sheet/Custom ps columns

Build a custom process table and sort by CPU usage.

Section: Process Inspection Basics

Custom ps columns

bash
bash
ps -eo pid,ppid,user,%cpu,%mem,stat,start,time,cmd --sort=-%cpu
Explanation

Build a custom process table and sort by CPU usage.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Process Inspection Basics
List processes with BSD format
Show all processes with user, CPU, memory, and command columns.
OpenIn sheetbashsame section
List processes with full format
Show all processes with PID, PPID, start time, and command.
OpenIn sheetbashsame section
List processes for a user
Filter processes by effective user and show full format.
OpenIn sheetbashsame section
Show one PID
Inspect a specific process by PID.
OpenIn sheetbashsame section
Show parent-child tree in ps
Render a process tree using ps output.
OpenIn sheetbashsame section
Show threads with ps
List lightweight processes or threads.
OpenIn sheetbashsame section