upstart: how to capture events emitted during bootup

Asked by Moblin_cracked on 2013-07-01

using upstart for my device and I want to monitor the bootup process by listening to all the events emitted by the different processes during the boot up process along with time stamp information.

Any ideas how do i get this working?

PS:i will log this in /tmp or or send it to another pc)

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu upstart Edit question
Assignee:
No assignee Edit question
Last query:
2013-07-01
Last reply:
2013-07-01

Does dmesg not give what you need?

N1ck 7h0m4d4k15 (nicktux) said : #2

You can try to use bootchart. Install it and reboot your system. Bootchart will automatically create a .png image that contains lot of informations. See if this, is what you need.

    sudo apt-get install bootchart
    sudo reboot

The .png file will be created inside /var/log/bootchart/

https://wiki.ubuntu.com/BootCharting

Regards
 NikTh

Moblin_cracked (shilpa-jabin) said : #3

Thanks, NikTH and Actionparsnip, but my requirement is that I want to capture the events emitted by the upstart jobs. i am not sure if with bootchar and dmesg i will be able to capture those events?
I have written test.conf to record all jobs events but it isnt working fine.

Can you help with this problem?

Provide an answer of your own, or ask Moblin_cracked for more information if necessary.

To post a message you must log in.