LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices



Closed Thread
 
Search this Thread
Old 04-02-2013, 04:41 AM   #1
sam42
LQ Newbie
 
Registered: Mar 2004
Posts: 19

Rep: Reputation: 3
upstart process tracking


Hi,

On Ubuntu, which process does an upstart job track?

Let me explain my question more.

Within an upstart config file, there can be "exec" lines and "script" lines. Perhaps there might be multiple instances of these? not sure. At the very least, within a "script" section there could be many lines of code, and each line of code would generate a PID. That PID may or may not be long lasting. In many cases, it would not be.

Put aside the issue of "expect fork" and "expect daemon", as I am not talking about forks or daemons.

Here is an attempt at answering my own question. Your feedback is welcome:

There is only one exec or script stanza permitted. The last PID is the one that's tracked.

Does that sounds right?

Thanks.
 
Old 04-02-2013, 04:50 AM   #2
sam42
LQ Newbie
 
Registered: Mar 2004
Posts: 19

Original Poster
Rep: Reputation: 3
Ok, I have just re-posted in the "Servers" forum, since it's more Server related somehow. Not sure if I can delete this thread.
 
Old 04-02-2013, 08:27 AM   #3
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
Please post your thread in only one forum. For future information, if you want to move an existing thread of yours to another forum, just report your own post and ask a moderator. This thread is being closed because it is a duplicate.
 
Old 04-02-2013, 08:33 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,175

Rep: Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784
Closed per above.
 
  


Closed Thread


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IPtables and process tracking bweddell Linux - Security 1 09-18-2012 01:32 PM
CentOS-6.2 & Upstart: Alternative to starting process with runlevel @ boot-up jb60606 Linux - Server 4 07-12-2012 04:12 PM
Upstart process information for rhel6 Rohit_4739 Red Hat 5 05-02-2012 01:46 PM
Need Suggestion regarding Process Tracking? your_shadow03 Linux - Newbie 2 11-19-2009 11:57 PM
Tracking Background PRocess ajeetraina Linux - Newbie 1 02-01-2008 08:28 AM


All times are GMT -5. The time now is 04:53 AM.

Main Menu
Advertisement
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