SUMMARY: Displaying/Changing kernel parameters under Solaris 2.5.1

From: Ernie Bisson, MIT Bates Linear Accelerator (BISSON@AESIR.MIT.EDU)
Date: Fri Jan 02 1998 - 10:43:51 CST


Original question:
********************************************************************************
I need to increase the amount of shared memory a process is allowed to use.
The Solaris FAQ says to add a line like the following to /etc/system.

    set shmsys:shminfo_shmmax = <value>

Does <value> represent the # of bytes like my Digital Unix systems?

Is there a way to increase for a particular user or can I only do it
on a system-wide basis?

Is there a tool that will show me parameter settings for the kernel modules
that are loaded?

How can I show the amount of physical memory on my system from Solaris?

Thanks for any help.
Ernie
********************************************************************************

Replies:
********************************************************************************
>Does <value> represent the # of bytes like my Digital Unix systems?

Yes.
See docs.sun.com for compleet descriptions of these parameters.

>Is there a way to increase for a particular user or can I only do it on
>a system-wide basis?

No, system wide only.

>Is there a tool that will show me parameter settings for the kernel modules
>that are loaded?

sysdef will show you once the modules are loaded.
sysdef -i shows the main current kernel parameter settings.
www.sun.com has links to documents on kernel parameter tuning and manipulating
shared memory.

>How can I show the amount of physical memory on my system from Solaris?

Check out the following tools:
      ftp://usc.edu/pub/sysinfo/sysinfo-3.2.2.tar.gz
      ftp://ftp.ece.uc.edu/pub/sun-faq/Utils/whatami.sh

    OR

prtconf
prtconf -v
/usr/sbin/prtconf | grep -i mem or dmesg | grep -i mem

    OR

If your Solaris architecture supports its, usr/platform/sun4d/sbin/prtdiag
is a good tool to show the amount of RAM you have installed.
********************************************************************************

Thanks To:
 vogelke@c17mis.region2.wpafb.af.mil
 casper@holland.Sun.COM
 sfrost@mitretek.org
 bwalker@sfa.org.uk
 jyoung@educate.com
 Michael_Hill@csgsystems.com
 jason@jsa.com

--------------------------------------------------------------------------------
Ernie Bisson
M.I.T. Bates Linear Accelerator
P.O. Box 846
Middleton, Massachusetts 01949-2846
(508) 774-2370 or (617) 253-9218

E-Mail : bisson@bates.mit.edu
--------------------------------------------------------------------------------



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:29 CDT