
20 Hardware Management Console (HMC)  Case Configuration Study for LPAR  Management
Figure 10   Add memory to partition
– Using the command line.Example 6 shows how to allocate 6 GB of memory to partition julia.Example 6   Memory allocation using command line interface
root@julia/>lsattr -El mem0
goodsize 1024 Amount of usable physical memory in Mbytes False
size     1024 Total amount of physical memory in Mbytes  False
root@julia/>ssh hscroot@hmctot184 lshwres -r mem -m p550_itso1 --level \ \
>lpar --filter "lpar_names=julia" -F lpar_name:curr_mem --header
lpar_name:curr_mem 
julia:1024
root@julia/>ssh hscroot@hmctot184 chhwres -m p550_itso1 -o a -p julia \ \
>-r mem -q 6144 -w 15
root@julia/>lsattr -El mem0
goodsize 7168 Amount of usable physical memory in Mbytes False
size     7168 Total amount of physical memory in Mbytes  False
root@julia/>ssh hscroot@hmctot184 lshwres -r mem -m p550_itso1 --level \ \
>lpar --filter "lpar_names=julia" -F lpar_name:curr_mem --header
lpar_name:curr_mem
julia:7168