1. What does the ps aux command display?
The ps aux command displays a comprehensive list of all running processes from all users with detailed information. The 'a' option shows processes for all users, 'u' provides user-oriented format with additional details, and 'x' includes processes not attached to a terminal (daemon processes and background jobs). The output includes USER (process owner), PID, %CPU (CPU usage), %MEM (memory usage), VSZ (virtual memory size), RSS (resident set size - physical memory), TTY (controlling terminal), STAT (process state), START (start time), TIME (cumulative CPU time), and COMMAND (command that started the process). Common usage patterns include ps aux | grep processname to find specific processes, ps aux --sort=-%mem to sort by memory usage, or ps aux --sort=-%cpu to sort by CPU usage. Understanding ps aux is essential for monitoring system performance, identifying resource-hungry processes, and troubleshooting issues in production environments.