Multiple choice technology programming languages

In Linux , how you can find out the memory usage ?

  1. vmstats

  2. sar

  3. vmstat

  4. prstat

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

vmstat (virtual memory statistics) is a standard Linux command that reports memory usage, paging, swaps, and CPU activity. vmstats is not a valid command, sar reports system activity data, and prstat is a Solaris-specific command.