Date: Fri, 13 Jun 2003 23:09:05 -0400 From: Dragoncrest <dragoncrest@voyager.net> To: Viktor Lazlo <viktorlazlo@telus.net> Cc: freebsd-questions@freebsd.org Subject: Re: Assigning a PID to a given program? Message-ID: <5.2.0.9.2.20030613230810.00a52810@pop.voyager.net> In-Reply-To: <20030613154336.T26939@njamn8or.no-ip.org> References: <5.2.0.9.2.20030613114007.00a18230@pop.voyager.net> <5.2.0.9.2.20030613114007.00a18230@pop.voyager.net>
next in thread | previous in thread | raw e-mail | index | archive | help
After doing some reading and some research, I'm seriously leaning that direction. I didn't know about PID's being written to files like that. I'll look into this a bit more. It just seemed strange to me is all. At 03:45 PM 6/13/03 -0700, Viktor Lazlo wrote: >On Fri, 13 Jun 2003, Dragoncrest wrote: > > > 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. > >This seems highly suspicious to me--any properly written software should >be relying on the host OS to assign the PID when the applicatin is >launched. Are you sure it's not really looking for the active session's >PID in a variable or file that it's configuration is not creating or >updating? > >Cheers, > >Viktor
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.2.0.9.2.20030613230810.00a52810>