The ps command displays information about active processes. It lists all running processes by default but additional switches provide more details. Common switches include -A for a complete list, -f for full details, and -l for a long listing. The ps command is often used to find the process ID (PID) of a frozen process so it can be killed using the kill command. Piping ps output to grep can filter results to quickly find a specific process.