UNIX Programming, Certification, System Administration, Performance Tuning Reference Books
Check System Kernel Variables

Impress your friends! You can check the size of variables that get set in /etc/system by using the adb debugger. For instance, if you wanted to check the size of shminfo_shmmax you could use the following command (as root):

echo "shminfo_shmmax/U" | adb -k /dev/ksyms /dev/mem

You'll get three lines of output, such as:

physmem 3ec98

shminfo_shmmax:

shminfo_shmmax: 4294967295

The last line has the value you're looking for
 

Return to : Unix System Administration Hints and Tips