Which command-line tool in Linux displays the current amount of free and used physical memory (RAM) and swap space within the system? MCQ with Answer and Explanation

Which command-line tool in Linux displays the current amount of free and used physical memory (RAM) and swap space within the system?
A. df
B. free
C. meminfo
D. top -s
Answer: Option B
Solution (By JKSSB Mock Tests)
The 'free' command parses system configuration details to quickly display total, used, and available physical memory along with swap parameters.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Operating Systems Questions

Question #1
In a multiprocessing environment, what is the term for the situation where two or more processors are executing instructions from the same program simultaneously?
A. Parallel execution
B. Concurrent execution
C. Simultaneous multithreading
D. Distributed processing

Correct Answer: Option A


Explanation:
Parallel execution refers to running multiple threads or processes at the exact same time on different cores.

This question belongs to: Computer Operating Systems
Question #2
Which component of an Android application represents a single visible screen with a user interface layer that the user interacts with?
A. Activity
B. Content Provider
C. Service
D. Broadcast Receiver

Correct Answer: Option A


Explanation:
An 'Activity' is the fundamental component that handles a single focused screen interface layout for user interaction.

This question belongs to: Computer Operating Systems
Question #3
Which Android subsystem handles the core power management features to optimize battery consumption on mobile chipsets?
A. Surface Flinger Engine
B. Android Package Installer
C. Dalvik Cache Manager
D. Wakelocks (via Linux kernel power drivers)

Correct Answer: Option D


Explanation:
Android utilizes specialized power management routines (such as Wakelocks) integrated into its Linux kernel base to regulate system sleep cycles and battery drain.

This question belongs to: Computer Operating Systems