From Newsgroup: alt.os.linux.slackware
On 01.03.2025 23:36 Uhr Joseph Rosevear wrote:
Thanks for telling me about this interesting command. I wonder what practical uses it has?
Getting information about installed memory.
Maybe it is historical for s390.
I haven't had such a system, but maybe they have detachable memory, so
modules can be inserted and removed while the system is running.
The online/offline state is not being shown by free.
m@ryz:~$ lsmem
RANGE SIZE STATE REMOVABLE BLOCK 0x0000000000000000-0x00000000cfffffff 3.3G online yes 0-25 0x0000000100000000-0x00000003afffffff 10.8G online yes 32-117
Memory block size: 128M
Total online memory: 14G
Total offline memory: 0B
m@ryz:~$ free -h
total used free shared buff/cache available
Mem: 13Gi 4.4Gi 435Mi 8.0Mi 8.7Gi 9.2Gi
Swap: 4.0Gi 340Mi 3.7Gi
m@ryz:~$
--
kind regards
Marco
Send spam to
1740868584muell@stinkedores.dorfdsl.de
--- Synchronet 3.21d-Linux NewsLink 1.2