Multiple choice technology packaged enterprise solutions

With which UNIX command can you find out if the SAP instance is running and also if the database is running?

  1. With the vmstat command

  2. With the ps command

  3. With the ls command

  4. With the jobs command

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

The ps (process status) command in UNIX displays information about active processes, including SAP instances and database processes. It shows running processes and their status. vmstat shows virtual memory statistics, ls lists directory contents, and jobs is a shell builtin for managing jobs.