You have just hot-plugged additional RAM into a production Linux server. For your change-management ticket you need a concise report that shows only the aggregate totals (Total, Online, Offline) and omits every individual memory-block line. Which single lsmem option will give you exactly that output?
The option --summary enables lsmem's summary mode. When the optional argument is omitted, the utility defaults to the value only, so it prints the summary lines (Total, Online, Offline) and suppresses the detailed list of memory-block ranges. --summary=always would still print the summary but also keeps the full block listing, --summary=never removes the summary entirely, and --all forces lsmem to list every individual memory block, doing the opposite of what is required.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the purpose of the lsmem command in Linux?
Open an interactive chat with Bash
What is the difference between --summary, --summary=always, and --summary=never in lsmem?
Open an interactive chat with Bash
What does hot-plugging RAM mean and how does Linux handle it?
Open an interactive chat with Bash
CompTIA Linux+ XK0-006 (V8)
System Management
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access