Bird
0
0

You run vmstat 1 3 but get an error saying "command not found". What is the most likely cause?

medium📝 Troubleshoot Q14 of 15
Linux CLI - System Administration
You run vmstat 1 3 but get an error saying "command not found". What is the most likely cause?
Avmstat is not installed on the system
BThe interval must be greater than 1 second
CThe command syntax is incorrect; count must be last
DYou need to run vmstat as root user
Step-by-Step Solution
Solution:
  1. Step 1: Verify vmstat syntax

    vmstat 1 3 uses correct syntax: 1-second delay, 3 samples.
  2. Step 2: Analyze the error

    "command not found" means vmstat (from procps package) is not installed.
  3. Final Answer:

    vmstat is not installed on the system -> Option A
  4. Quick Check:

    command not found = not installed [OK]
Quick Trick: vmstat missing? Install procps package [OK]
Common Mistakes:
  • Assuming syntax error for missing command
  • Thinking root needed for vmstat
  • Believing interval too small

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes