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

Have a Unix Problem
Do you have a UNIX Question?

Unix Books :-
UNIX Programming, Certification, System Administration, Performance Tuning Reference Books

Return to : - Unix System Administration Hints and Tips

(c) www.gotothings.com All material on this site is Copyright.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
All product names are trademarks of their respective companies.
The site www.gotothings.com is in no way affiliated with or endorsed by any company listed at this site.
Any unauthorised copying or mirroring is prohibited.