Re: PID File



On 27 April 2012 18:04, Kipton Moravec <kip@xxxxxxxxxx> wrote:
I am installing a program, and it has a PID file in /var/run

It also looks like the start/stop for this application in /etc/init.d
uses the pid file to start and stop the process.

How do I find a number to use?

You don't. The pid is a "Process ID" and is generated on the fly by
the kernel. It's not like TCP ports where 'magic' numbers are
allocated and the SMTP is normally found on port 25., for example.

I can't find a table of "standard" process identification numbers. (Like
the one for TCP or UDP ports).

Because there isn't one.

It looks like the maximum PID is 32767. So do I just go crazy and use
something like 32000? Or are numbers <1000 available for this?

None of this is necessary, and it's impossible for you to specify a
specific pid to use for a process.

--
Steve

When one person suffers from a delusion it is insanity. When many
people suffer from a delusion it is called religion.

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: How to stop squirrelmail temporarily
    ... Normally these ports are used by imapd - normal and secure ... Perdition also needs port 993 and 143. ... # kill -9 692 ... USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND ...
    (Debian-User)
  • Re: rquotad stole port 993 from imaps!
    ... COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME ... Not every one is using every one of the "well known ports". ... Well, I'm not running IMAPS, so why shouldn't portmap hand it out? ...
    (comp.os.linux.networking)
  • Re: TCP/IP socket port used in IGraphBuilder::RenderFile() API
    ... applications use to find out which applications use which ... ports, and just look at the ports his application is ... it doesn't provide the process PID ... // a dot angeli at psynet dot net ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: SNMP not listening
    ... "Louis Vitiello Jr." ... running then take a look at it's PID. ... This will show what ports your SNMP is using. ...
    (microsoft.public.windows.server.general)
  • Re: WinXP Pro & Ports
    ... > I have fresh install WinXP and i'm not runing ISS or some other server or ... X = the PID you got, it will tell you whats using them ports. ... "Without knowledge you have fear. ...
    (alt.computer.security)