进程号pid_max

/proc/sys/kernel/pid_max
              This  file  (new in Linux 2.5) specifies the value at which PIDs
              wrap around (i.e., the value in this file is  one  greater  than
              the  maximum  PID).   The  default  value  for this file, 32768,
              results in the same range of PIDs as  on  earlier  kernels.   On
              32-bit  platfroms,  32768  is the maximum value for pid_max.  On
              64-bit systems, pid_max can be set  to  any  value  up  to  2^22
              (PID_MAX_LIMIT, approximately 4 million).

posted on 2012-10-24 10:22  一个苦逼的程序员  阅读(895)  评论(0编辑  收藏  举报