Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

man and system calls

8 views
Skip to first unread message

Andrew Black (delete obvious bit)

unread,
Sep 14, 2006, 4:09:44 AM9/14/06
to
Hi
I am having trouble finding various system calls in man
man shmget
Manual entry for shmget not found or not installed.

Do I need to install the manual pages for this, or is MANPAGE not correct

CHeers

Andrew Black (delete obvious bit)

unread,
Sep 14, 2006, 4:11:19 AM9/14/06
to
"Andrew Black (delete obvious bit)"
<andrew6e....@mail.black1.org.uk> wrote in
news:Xns983E5E0A61642...@193.111.200.94:

Should have added it is AIX 5.3

Bobohoolie

unread,
Sep 14, 2006, 4:41:49 AM9/14/06
to

Works fine here (AIX 5.2): So prob. you need to install the man
page.....

=> # man shmget

Technical Reference: Base Operating System and Extensions, Volume
2

shmget Subroutine

Purpose

Gets shared memory segments.

Library

Standard C Library (libc.a)

Syntax

#include <sys/shm.h>

int shmget (Key, Size, SharedMemoryFlag)

key_t Key;

size_t Size

int SharedMemoryFlag;

Description

The shmget subroutine returns the shared memory identifier associated
with the
specified Key parameter.

The following limits apply to shared memory:

o Maximum shared-memory segment size is:
- 256M bytes before AIX 4.3.1
- 2G bytes for AIX 4.3.1 through AIX 5.1
etc. etc.

Hajo Ehlers

unread,
Sep 14, 2006, 6:33:01 AM9/14/06
to

Its contained in the infocenter.man.EN_US filesets

Read

http://www-1.ibm.com/support/docview.wss?uid=isg1SSRVAIX53TIPS081511_181

for installation

hth
Hajo

Wil Cooley

unread,
Sep 14, 2006, 1:45:00 PM9/14/06
to

I've just looked through all 8 of my 5.3 CDs and I don't see filesets for
anything other than commands. I also checked installp/ppc/.toc on disk 1.
Am I missing something? My CD set is from 02/2005. I'm hoping not to
have to go through all the nonsense with letting installp read the CD
directly, because it's a real pain to move the CD-ROM around between the
LPARs.

Wil

Hajo Ehlers

unread,
Sep 14, 2006, 2:25:40 PM9/14/06
to
Wil Cooley wrote:
> On Thu, 14 Sep 2006 03:33:01 -0700, Hajo Ehlers wrote:
...

> I've just looked through all 8 of my 5.3 CDs and I don't see filesets for
> anything other than commands. I also checked installp/ppc/.toc on disk 1.
> Am I missing something? My CD set is from 02/2005. I'm hoping not to
Hopefully not - i started with AIX 5.3 base incl. 03 - according to the


> have to go through all the nonsense with letting installp read the CD
> directly, because it's a real pain to move the CD-ROM around between the
> LPARs.

? Why not copy ( with gencopy or smitty ) all CD into a large FS on a
LPAR and share it via nfs ? After an initial AIX installation ( 1 lpar
) i never use the cd-rom for other lpars.

hth
Hajo

Wil Cooley

unread,
Sep 14, 2006, 3:23:23 PM9/14/06
to
On Thu, 14 Sep 2006 11:25:40 -0700, Hajo Ehlers wrote:

> ? Why not copy ( with gencopy or smitty ) all CD into a large FS on a
> LPAR and share it via nfs ? After an initial AIX installation ( 1 lpar )
> i never use the cd-rom for other lpars.

Oh, I've already got a NIM environment; the problem is that I cannot be
assured everything is there because I did not create it and this
particular files seem to be missing. Okay, I just put CD1 into a drive on
one of my pSeries just to make sure I wasn't missing something and it's
not there.

Also, my commands package is infocenter.aix.EN_US.commands, not
infocenter.man.EN_US.commands.

$ sudo installp -L -d /dev/cd0 |awk -vFS=: '$2 ~ /man/ {print $2 " - " $12 }'
ICU4C.man.en_US - ICU Manual Pages - U.S. English
X11.man.en_US.Dt.adt - AIX CDE Toolkit Man Pages - U.S. English
X11.man.en_US.Dt.rte - AIX CDE Man Pages - U.S. English
bos.rte.commands - Commands
bos.rte.man - Man Commands
infocenter.aix.CA_ES.commands - AIX Command Documentation - Catalan (UTF)
infocenter.aix.CS_CZ.commands - AIX Command Documentation - Czech (UTF)
infocenter.aix.DE_DE.commands - AIX Command Documentation - German (UTF)
infocenter.aix.EN_US.commands - AIX Command Documentation - U.S. English (UTF)
infocenter.aix.ES_ES.commands - AIX Command Documentation - Spanish (UTF)
infocenter.aix.FR_FR.commands - AIX Command Documentation - French (UTF)
infocenter.aix.HU_HU.commands - AIX Command Documentation - Hungarian (UTF)
infocenter.aix.IT_IT.commands - AIX Command Documentation - Italian (UTF)
infocenter.aix.JA_JP.commands - AIX Command Documentation - Japanese (UTF)
infocenter.aix.KO_KR.commands - AIX Command Documentation - Korean (UTF)
infocenter.aix.PL_PL.commands - AIX Command Documentation - Polish (UTF)
infocenter.aix.PT_BR.commands - AIX Command Documentation - Brazilian Portuguese (UTF)
infocenter.aix.RU_RU.commands - AIX Command Documentation - Russian (UTF)
infocenter.aix.SK_SK.commands - AIX Command Documentation - Slovakian (UTF)
infocenter.aix.ZH_CN.commands - AIX Command Documentation - Simplified Chinese (UTF)
infocenter.aix.ZH_TW.commands - AIX Command Documentation - Traditional Chinese (UTF)
ldap.html.Ja_JP.man - Directory Man Pages - Japanese
ldap.html.Zh_CN.man - Directory Man Pages - Simplified Chinese,GBK
ldap.html.Zh_TW.man - Directory Man Pages - Big5
ldap.html.cs_CZ.man - Directory Man Pages - Czech
ldap.html.de_DE.man - Directory Man Pages - German
ldap.html.en_US.man - Directory Man Pages - U.S. English
ldap.html.es_ES.man - Directory Man Pages - Spanish
ldap.html.fr_FR.man - Directory Man Pages - French
ldap.html.hu_HU.man - Directory Man Pages - Hungarian
ldap.html.it_IT.man - Directory Man Pages - Italian
ldap.html.ja_JP.man - Directory Man Pages - Japanese
ldap.html.ko_KR.man - Directory Man Pages - Korean
ldap.html.pl_PL.man - Directory Man Pages - Polish
ldap.html.pt_BR.man - Directory Man Pages - Brazilian Portuguese
ldap.html.ru_RU.man - Directory Man Pages - Russian
ldap.html.sk_SK.man - Directory Man Pages - Slovakian
ldap.html.zh_TW.man - Directory Man Pages - Traditional Chinese
perl.man.en_US - Perl Documentation - U.S. English


(Similarly, matching on 'infocenter' only finds the ones mentioned above.)

Naturally, SUMA is useless too, regardless of whether I use 'man' or 'aix':

$ sudo suma -x -a RqType=Fileset -a PreCoreqs=n -a Ifreqs=n -a RqName=infocenter.man.EN_US.files -a Action=Preview -a Repeats=n
0500-018 An internet request failed.
0500-014 The fix server responded with the following error condition:
304|unknown fileset:infocenter.man.EN_US.files:latest
0500-012 An error occurred attempting to download.

$ sudo suma -x -a RqType=Fileset -a PreCoreqs=n -a Ifreqs=n -a RqName=infocenter.aix.EN_US.files -a Action=Preview -a Repeats=n
0500-018 An internet request failed.
0500-014 The fix server responded with the following error condition:
304|unknown fileset:infocenter.aix.EN_US.files:latest
0500-012 An error occurred attempting to download.

Wil

Gary R. Hook

unread,
Sep 14, 2006, 9:20:44 PM9/14/06
to
Bobohoolie wrote:
>> "Andrew Black (delete obvious bit)"
>> <andrew6e....@mail.black1.org.uk> wrote in
>> news:Xns983E5E0A61642...@193.111.200.94:
>>
>>> I am having trouble finding various system calls in man
>>> man shmget
>>> Manual entry for shmget not found or not installed.
>
> Works fine here (AIX 5.2): So prob. you need to install the man
> page.....

Once the infocenter filesets are installed, man will work for commands,
but not for libs. You can rectify this by going to
/usr/man/info/EN_US/a_doc_lib
and doing an ls -l. You'll find that cmds is there and points into
/opt/ibm_help/... What you have to do is add a similar link for
libs. Then man shmget will work for you.

And no, MANPATH doesn't seem to work.

0 new messages