Re: Maximum Number for a Process ID?

From: Chuck Dillon (spam_at_nimblegen.com)
Date: 08/29/05


Date: Mon, 29 Aug 2005 08:36:18 -0500

clusardi2k@aol.com wrote:
> On SGI, and Red Hat Linux what is the maximum possible number for a
> PID?
>
> On SGI, "ps -A" shows me 9 digits, and on Linux it shows 5!
>
> Thank you,
> Christopher Lusardi
>

man limits or see /usr/include/limits.h and look for PID_MAX.

-- ced

-- 
Chuck Dillon
Senior Software Engineer
NimbleGen Systems Inc.


Relevant Pages

  • Is it a good idea to use "ps" to determine if a process is running?
    ... Is this a good idea on SGI and Red Hat Linux? ... The problem that I see occurring is that a process will die and ... is the PID and the name of the computer that it is running on. ...
    (comp.unix.questions)
  • Re: Is it a good idea to use "ps" to determine if a process is running?
    ... > Is this a good idea on SGI and Red Hat Linux? ... immediately) until I got a PID that I had seen before. ... process started after system boot") should be unique between reboots. ... On SGI systems, you might be able to find a similar solution. ...
    (comp.unix.questions)
  • Autofs problem
    ... I'm having some trouble with my Red Hat Linux 9 system. ... I'm having NIS, NFS network environment. ... Everybody can see this machine & its shares. ... I'm unable to see the share for SGI, HP-UX, & Sun. ...
    (comp.os.linux.networking)
  • Re: Linux Blocking/Unblocking
    ... > I have some processes I created with clone() and am wondering how to ... > block/unblock them using their pid. ... SGI has ...
    (comp.os.linux.development.apps)
  • Cant Use "rsh ... ps ..." To Windows: cgywin not allowed, its too slow
    ... >>From a SGI or Linux box and with a PID in hand, ... if another process is running on a Windows box? ...
    (comp.unix.questions)