Did you know LQ has a Linux Hardware Compatibility List?
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, 12:27 PM   #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-29-2005, 12:24 AM   #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: 330Reputation: 330Reputation: 330Reputation: 330
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
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 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 07:32 PM.

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