From owner-freebsd-questions@FreeBSD.ORG Fri Jun 13 08:33:02 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 605E137B404 for ; Fri, 13 Jun 2003 08:33:02 -0700 (PDT) Received: from dragoncrest.jasnetworks.net (dragoncrest.jasnetworks.net [65.194.254.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 693E043FA3 for ; Fri, 13 Jun 2003 08:33:01 -0700 (PDT) (envelope-from dragoncrest@voyager.net) Received: from works.voyager.net (bsdbox [192.168.0.3])h5DBhN2H001710 for ; Fri, 13 Jun 2003 11:43:23 GMT (envelope-from dragoncrest@voyager.net) Message-Id: <5.2.0.9.2.20030613114007.00a18230@pop.voyager.net> X-Sender: dragoncrest@pop.voyager.net X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Fri, 13 Jun 2003 11:43:06 -0400 To: freebsd-questions@FreeBSD.ORG From: Dragoncrest Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Assigning a PID to a given program? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2003 15:33:02 -0000 Ok, not sure if this is possible, but I thought I'd ask just in case. What I'm looking to do is to assign a given Program ID number to a specific process if possible. I know FBD assigns them automatically as they're executed, but I've hit into at least one or two apps that's looking for a particular program running on a particular PID (don't ask me why. it's kinda stupid as far as I'm concerned) in order to connect to it. Yet the program is running with a totally different PID. Is there a way to assign a specific PID number to a program at launch or maybe even reset the PID counter to zero so that the program takes the lowest available PID at launch? Just curious mostly. Thanks.