Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 04-27-2005, 11:27 AM   #1
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 ?


Old 04-28-2005, 11:24 PM   #2
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: 332Reputation: 332Reputation: 332Reputation: 332
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, 06:59 AM   #3
LQ Newbie
Registered: Apr 2005
Posts: 2

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


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 08:27 AM
Creating custom distro from RH9 ? DJ Shaji Red Hat 2 03-08-2005 01:19 PM
Creating a custom bootable distro Boffy Linux - General 2 08-28-2004 06:26 PM
Creating custom RPM kernel... Enlightened Linux - Software 1 07-02-2004 03:35 PM
creating custom locale jinujose Linux - General 1 10-21-2003 12:50 AM

All times are GMT -5. The time now is 01:08 AM.

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