Run the following command from the shell prompt of the appliance to display the amount of RAM available on a NetScaler appliance:
grep "real memory" /var/nslog/dmesg.boot
real memory = 1072955392 (1023 MB) sysctl -a | grep hw.realmem hw.realmem: 1072955392 Displaying the Available Memory on an Appliance
On the appliance, a section of memory is used by the user process for the operating system operations and the remaining memory is available for the NetScaler operations.
Run any of the following commands from the shell prompt of the appliance to find the total available memory on the appliance:
grep "avail memory" /var/nslog/dmesg.boot
avail memory = 841007104 (802 MB)
nsconmsg -K newnslog -g sys_memorysize_MB -d stats
0 0 822 sys_memorysize_MB
sysctl -a | grep hw.physmem
hw.physmem: 862306304 netscaler.hw_physmem_mb: 822
Run the following command from the shell prompt of the appliance to display the amount of memory used by the user process for operating system operations:
sysctl -a | grep hw.usermemhw.usermem: 209580032