LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-27-2005, 12:27 PM   #1
cbutcher
LQ Newbie
 
Registered: Apr 2005
Posts: 2

Rep: Reputation: 0
Creating a custom process id


Hello all,

Just a quick question, is it possible that when you start a certain process or job, can you assign it a custom pid number of your own choosing ?

If it is possible maybe a quick example ?


Thanks,

Chuck
 
Old 04-29-2005, 12:24 AM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
No, you can't assign a PID, but most scripted/compiled languages allow you to retrieve and manage the PIDs of forked processes. You can also search for a PID (with the ps command), greping for your specific instance.
 
Old 04-29-2005, 07:59 AM   #3
cbutcher
LQ Newbie
 
Registered: Apr 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you for the advice.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating custom driver disk. DDoS YourseLF Red Hat 1 08-07-2005 09:27 AM
Creating custom distro from RH9 ? DJ Shaji Red Hat 2 03-08-2005 02:19 PM
Creating a custom bootable distro Boffy Linux - General 2 08-28-2004 07:26 PM
Creating custom RPM kernel... Enlightened Linux - Software 1 07-02-2004 04:35 PM
creating custom locale jinujose Linux - General 1 10-21-2003 01:50 AM


All times are GMT -5. The time now is 03:13 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration