Online Linux Terminal Logo
OnlineLinuxTerminal
System & ProcessesCLI Reference

$ps

Report a snapshot of currently running system processes.

Syntax DefinitionPOSIX standard
ps [OPTIONS]
Linux Community2.4k Online

Chat with real Linux users, learn new commands & get free cheat sheet PDFs.

Try `ps` Live in Interactive Sandbox

Zero-install client simulation with real-time feedback.

Open in Fullscreen Workspace↗
bash — terminal

Overview & How ps Works

`ps` (Process Status) provides detailed information about active processes running on your Linux system, including Process ID (PID), CPU usage, Memory utilization, Terminal (TTY), runtime, and the command string.

Common Flags & Command Options

Flag / OptionDescription
auxDisplay all running processes for all users in BSD syntax with CPU/MEM percentages.
-efStandard system V syntax listing all processes with parent PID (PPID).
-u [user]Filter processes owned by a specific username.

Practical Real-World Examples

Example #1List all running system processes

Outputs complete process table snapshot.

Sample Output:
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.1 168920 11420 ? Ss 10:00 0:02 /sbin/init user 420 0.0 0.2 24500 4800 pts/0 S+ 10:15 0:00 bash

Frequently Asked Questions

What is the difference between ps and top?

`ps` gives a single static snapshot of processes at that exact moment, whereas `top` is an interactive real-time dashboard that continually refreshes.