📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!

  • google app store apple app store
  • ✖

      Question

      In Unix/Linux systems, which command is used to check

      the current usage of memory in the system? 
      A top Correct Answer Incorrect Answer
      B ls Correct Answer Incorrect Answer
      C grep Correct Answer Incorrect Answer
      D chmod Correct Answer Incorrect Answer
      E mv Correct Answer Incorrect Answer

      Solution

      The top command in Unix/Linux provides a real-time, dynamic view of system performance, including CPU and memory usage, running processes, and load averages. It is a powerful tool for monitoring system health and diagnosing performance issues, particularly when trying to determine if the system is running out of memory or CPU resources. Understanding such commands is crucial for managing and maintaining Unix/Linux environments effectively. Why other options are wrong: b) ls : This command lists directory contents but doesn’t provide memory usage information. c) grep : This is a search command for filtering text, not for monitoring memory. d) chmod : This command changes file permissions and has no relation to memory usage. e) mv : This command is used to move or rename files, not to monitor memory.

      Practice Next

      Relevant for Exams:

      ask-question