'lsmem' and 'chmem' are your tools in sles15.5 if you have offline memory.

Example:

zlnx002:~ # lsmem
RANGE                                 SIZE   STATE REMOVABLE BLOCK
0x0000000000000000-0x000000003fffffff   1G  online       yes   0-3
0x0000000040000000-0x000000007fffffff   1G offline             4-7

Memory block size:       256M
Total online memory:       1G
Total offline memory:      1G

zlnx002:~ # chmem -e 64m
chmem: Size must be aligned to memory block size (256M)

zlnx002:~ # chmem -e 256m

zlnx002:~ # lsmem
RANGE                                  SIZE   STATE REMOVABLE BLOCK
0x0000000000000000-0x000000004fffffff  1.3G  online       yes 0-4
0x0000000050000000-0x000000007fffffff  768M offline 5-7

Memory block size:       256M
Total online memory:     1.3G
Total offline memory:    768M

Voila!

--
Best regards,
Juha Vuori

On 20.2.2024 22.55, Victor Echavarry wrote:
Is there a way to add memory to a Linux guest without turn off and turn on the 
guest. The guest are on SUSE 15 SP5 and the VM is 7.2

Regards,

Víctor Echavarry
System Programmer
EVERTEC LLC


WARNING: This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they are 
addressed. If you have received this email in error please delete it 
immediately. Please note that any views or opinions presented in this email are 
solely those of the author and do not necessarily represent those of EVERTEC, 
Inc. or its affiliates. Finally, the integrity and security of this message 
cannot be guaranteed on the Internet, and as such EVERTEC, Inc. and its 
affiliates accept no liability for any damage caused by any virus transmitted 
by this email.

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to