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...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .