Thanks to Casper Dik and Bernhard Sadlowski for their responses.
The answer to my question is that it is an 8 byte value, so you
should use /J (for hexadecimal) or /E (unsigned decimal):
38 marine# adb -k
physmem 3b21
shminfo_shmmax/J
shminfo_shmmax:
shminfo_shmmax: 4000000
shminfo_shmmax/E
shminfo_shmmax:
shminfo_shmmax: 67108864
Thanks again,
Alex.
My original question:
>
>Hi all,
>
>I've just come across a strange behaviour in adb and I just wondered
>if anyone could shed any light?
>
>in /etc/system I've got the following definition (amongst others):
>
> set shmsys:shminfo_shmmax=67108864
>
>The machine (E250 Solaris 2.7) has been rebooted. Using adb to see
>what shmmax is set to I get:
>
>4 marine# adb -k
>physmem 3b21
>shminfo_shmmax/D
>shminfo_shmmax:
>shminfo_shmmax: 0
>
>Zero? and when I use sysdef I get the following:
>
>7 marine# sysdef | grep SHMMAX
> 67108864 max shared memory segment size (SHMMAX)
>
>Which is correct. Why does adb not return the correct value for
>shmmax? Or am I just doing something wrong?
>
>Thanks in advance,
>
>Alex.
>
_______________________________________________
Alex Stepney, UNIX Systems Group, UCL
email: A.Stepney@cs.ucl.ac.uk
www : http://www.cs.ucl.ac.uk/staff/A.Stepney
tel : +44 (0)20 7679 3662
fax : +44 (0)20 7387 1397
S
U BEFORE POSTING please READ the FAQ located at
N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq
. and the list POLICY statement located at
M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy
A To submit questions/summaries to this list send your email message to:
N sun-managers@sunmanagers.ececs.uc.edu
A To unsubscribe from this list please send an email message to:
G majordomo@sunmanagers.ececs.uc.edu
E and in the BODY type:
R unsubscribe sun-managers
S Or
. unsubscribe sun-managers original@subscription.address
L To view an archive of this list please visit:
I http://www.latech.edu/sunman.html
S
T
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:17 CDT