Multiple choice unix

Which command is used to display the characteristics of a process?

  1. pid

  2. du

  3. ps

  4. au

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The ps (process status) command displays information about active processes, including their process IDs, resource usage, and execution status. It is the standard Unix/Linux tool for viewing process characteristics.

AI explanation

ps (process status) is the standard Unix/Linux command used to display characteristics of running processes — PID, terminal, CPU/memory usage, command name, state, etc. 'pid' is just a process attribute, not a command. 'du' reports disk usage of files/directories, unrelated to processes. 'au' isn't a real standard command. So ps is the only genuine, correct command for inspecting process characteristics.