Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

ps vs pgrep

What is a VPC: your own private network inside one AWS Region, example ThreeTierVpc 10.0.0.0/16.

ps vs pgrep: Shows a process table.; Prints matching PIDs.
ps vs pgrep · Download PNG
Read card text

What this card says

Process

ps

Shows a process table.

pgrep

Prints matching PIDs.

Key points

Rich columns, sort.

Short, good for scripts.

Example

ps aux --sort=-%mem

Use when

Investigate load.

Script a check.

See all AWS revision cards