Sujet : Re: pid ranges (Was: (bash) How (really!) does the "current job" get determined?)
De : marrgol (at) *nospam* address.invalid (marrgol)
Groupes : comp.unix.shellDate : 07. Oct 2024, 11:22:44
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <ve0cpk$1lp70$1@dont-email.me>
References : 1 2 3 4 5 6
User-Agent : Mozilla/5.0 (rv:102.0) Gecko/20100101, Betterbird/102
On 2024-10-07 at 04:58 Janis Papanagnou wrote:
On Linux, check out: /proc/sys/kernel/pid_max
>
As I read the various posts on the subject, 15 bit is still the limit on 32
bit systems, 22 bit on 64 bit systems. But, of course, YMMV.
Hmm.. - my [a bit rusty] 64 bit Linux displays 32768 (15 bit).
32768 is just kernel's default, it can be changed using sysctl
or by writing directly to the file mentioned above.