AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
  • 1.  AIX 6.1 and PID length

    Posted Wed January 26, 2011 06:55 AM

    Originally posted by: tech100


    customer asked it the PID length can be somehow limited to max 7 digits in AIX 6.1.

    is there any systems parameter for it??
    #AIX-Forum


  • 2.  Re: AIX 6.1 and PID length

    Posted Wed January 26, 2011 07:26 AM

    Originally posted by: tech100


    additional info:

    some AIX 6.1 have PIDs with length exact 7 digits and some with exact 8 digits (of course except init=1)

    how it is possible? where it comes from?
    #AIX-Forum


  • 3.  Re: AIX 6.1 and PID length

    Posted Wed January 26, 2011 09:26 AM

    Originally posted by: Kosala


    Interesting question, had a quick look and it seems pid_t (pid type) defined as in sys/types.h says it is a int32 or long64. And most of the Unix systems used signed types for pid_t, so this means it can be 16 Mil or more???? I suppose.

    types.h:typedef int32long64_t pid_t;

    Linux define a nproc in the ulimit but that's not applicable to AIX (at least on 5.3)... but that restricts the number of total processes, not the MAX pid numbet.

    Have fun,
    Kosala
    #AIX-Forum


  • 4.  Re: AIX 6.1 and PID length

    Posted Fri November 16, 2012 09:16 AM

    Originally posted by: SystemAdmin


    please so the comments here for a better understanding:
    http://unix.derkeiler.com/Mailing-Lists/AIX-L/2010-08/msg00008.html
    #AIX-Forum