SunOS 4.x Kernel parameters

Sorry about the delay in summarizing.

Original posting :

> Is there a way (apart from looking into /usr/kvm/sys/`arch`/conf) to

> know the values for kernel parameters (like nproc, maxusers etc)

> of a SunOS 4.x kernel ?

>

> I checked the FAQs but did not find anything.

Everyone suggested 'adb'.

Thanks to the following :

William Charles <william@wet.sbi.com>

Kevin.Sheehan@uniq.com.au (Kevin Sheehan {Consulting Poster Child})

bern@TI.Uni-Trier.DE (Jochen Bern)

William Charles provided a script too.

#!/bin/sh

adb -k /vmunix /dev/mem << EOF

=n"MAXUSERS Kernel Variable"

="------------------------"

nproc/D"NPROC ( = 10 + 16 * MAXUSERS)"

shminfo,3/D

EOF

echo " SHMSIZE * 1024 ? SHMMNI"

[1369 byte] By [CodeProf.com] at [2007-12-25 8:55:00]