How to tell if a job has run?

Scott James Remnant scott at netsplit.com
Wed Nov 21 18:27:29 GMT 2007


On Wed, 2007-11-21 at 10:01 -0800, upstart at eehouse.org wrote:

> I know only that there's a file /etc/event.d/hi, not whether the "hi" 
> job has been successfully run (and exited), nor whether any jobs that
> run on the "hi" event ever got launched.  Is there any way to get this
> information out of upstart?
> 
Not at this time.

> What I really want is a way to look at a system and see a tree of what
> jobs ran when, and which were launched in response.  Some but not all
> of this information can be gotten out of log files if upstart (as init)
> is launched with the -v flag.  Can I get close without modifying my
> kernel commandline?
> 
The problem with this log is that it would become arbitrarily large the
longer the system had been running, eventually consuming all system
resources on very-long-running systems.

There would have to be a cut-off or threshold for it; at which point it
becomes difficult to argue why it exists at all.

Scott
-- 
Have you ever, ever felt like this?
Had strange things happen?  Are you going round the twist?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/upstart-devel/attachments/20071121/bc6ce21e/attachment.pgp 


More information about the upstart-devel mailing list